Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cursor Adapter Requests
Message
From
08/08/2004 22:25:47
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00931561
Message ID:
00931672
Views:
18
Hi Simon,

>Just out of interest why was it designed this way as opposed to having Insert, Delete and Update methods?
>

In majority of scenarios, custom update is done by sending custom command to the back-end (in Native case, executing custom SQL-INSERT/SQL-UPDATE/SQL-DELETE). Having CursorAdapter to call an extra method in those scenarios would be an unnecessary overhead.

>Am I correct in assuming that you should always use "Native" as the Datasourcetype whem using custom InsertCmd, DeleteCmd and UpdateCmds?
>

If you want to run native code, the ...DataSourceType should be "Native". If you want to run custom back-end specific command through ADO or ODBC, for example, a stored procedure call, the ...DataSourceType should be set appropriately.

Thanks,
Aleksey.
Previous
Reply
Map
View

Click here to load this message in the networking platform