Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor adapter and View
Message
From
25/05/2005 04:00:59
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01017384
Message ID:
01017385
Views:
21
>Hi to All,
>
>I have this answer to submit.
>In a MSSQL DB I have created a View with some Tables.
>This View has Join relations betwen the Tables and run correctly in Enterprise Manager.
>
>Can I create in VFP a cursor adapter for this View ?
>If Yes, can I use this CA in an editing Form?
>The rules are the same of Tables CAs?
>
>Best Regards
>Gaetano

You can use it on a VFP form. However multiple tables updating (and thus editing is not encouraged under MSSQL) from a view. In other words MSSQL doesn't allow you to update multiple base tables from a view at the same time.
OTOH I think you could overcome it doing your insert/update/delete via StoredProcs and thus use CA for editing.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform