Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Buffering
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01191514
Message ID:
01192946
Vues:
9
>>>>Also, when the user edits the grid I need something to cause the new value to be saved back into the cursor and the source table. (This is my original problem.) What would that be?
>>>>
>>>>- btw Thanks for your help here.
>>>>
>>
>>Borislav -
>>
>>Thanks for your help on this cursor adapter thing. The suggestions you provided seem to work fine except I think I need a command in the grid AfterRowColumnChange that will cause the edit to be sent back to the source files. I've read the docs but its not clear what that should be, cursor update, record update?
>>
>
>
>TableUpdate()
>

>
>>Also, it looks like there may be a way to cause it to be automatic so a specific call would not be needed and it would edit as though the source table were in the grid. Is that correct?
>>
>>- Don
>
>No, working with CA or Views you need to call Explicit TableUpdate() when you want to Update records. This is of course if you have Table Buffering. If you have Row Buffering the updates are sent back when record pointer change its value.
>I am not sure, because I always use Table Buffering, what will happen if you close CA or View if you made some changes in the record and then CLOSE that CA (View) w/o changing record pointer. Is that changes will be saved or they will be lost. not sure?

The changes will be lost.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform