Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter Attach/Detach Question
Message
De
13/05/2005 17:33:50
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01014090
Message ID:
01014098
Vues:
18
Kevin,

>If I Detach a cursor from a CA, can I then later Attach it again
>and issue TABLEUPDATE()?

Works for me.

>My testing shows that I cannot update changes, but I wanted to verify
>that.

You might need to be sure that the CursorAdapter you are attaching to is setup correctly with the properties needed for updating:

SendUpdates = .T.
Tables = table to update
UpdatableFieldList = fields to potentially update
UpdateNameList = cross-reference of cursor fields to table.fieldnames
KeyFieldList = key field(s)

Without those being set up correctly, you won't get an update to the backend.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform