Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why the difference?
Message
De
27/06/2001 11:25:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00523778
Message ID:
00524192
Vues:
17
Thanks Mark, certainly sql cursors bring down data a whole lot faster than does requerying a view. Truth is I've never really considered using a cursor and making it updatable.

This is an idea worth considering.

Again, thanks.

Alan

>The problem you will have at runtime is clashing view creations from multiple users doing this within the common DBC. I still recommend creating a cursor using SQL. You can then make the cursor updatable:
>
>CursorSetProp("SendUpdates",.t.)
>CursorSetProp("Tables","dbcname!mytable")
>CursorSetProp("KeyFieldList","keyid")
>CursorSetProp("WhereType",1)
>CursorSetProp("UpdatableFieldList","keyid, descript")
>CursorSetProp("UpdateNameList","keyid mytable.keyid, descript mytable.descript")
>CursorSetProp("Buffering", 5) && optional [my preference]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform