Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SPT error when setting CURSORSETPROP
Message
De
14/05/2003 18:54:05
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00787810
Message ID:
00788425
Vues:
41
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform