Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT error when setting CURSORSETPROP
Message
From
14/05/2003 18:54:05
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00787810
Message ID:
00788425
Views:
42
>Aleksey, your a genius. It works like a charm. Why is it desirable to use cursors to update backend verses using sqlexec to directly update the table on backend? Is it because of performance and record locks issues? Thanks anyway, I appreciated your help.
>

Here're some reasons:
1) If you call SQLEXEC then your local cursor becomes out of sync and you have to execute similar command against it if there is a need to keep it in sync.
2) Table buffering allows to send multiple changes using single TABLEUPDATE() call.

I am not saying that you should never use SQLEXEC to update data, it all depends from what you are trying to accomplish.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform