Thank you for your quick answer.
To do a master detail update you would need two CursorAdapter Objects in the same form sharing the same connection, or one CursorAdapter Object representing the joined tables and putting .tables = 'table1, table2] ?
I would appreciate if you'd point me to a simple sample on how to do this
Thank You
>Hi!
>
>See notes below...
>
>>For those having the VFP 8.0 beta:
>>
>>- What is the meaning of the property: .tables of the class
>
>It represents option "Tables" of cursor (see help for CursorSetProp()/CursorGetProp() functions)
>
>>- How can we implement master details forms (for remote data) like invoices in the same form using the CursorAdapter Class
>
>The same way as in VFP7. CursorAdapter does not give any new features but better OOP interface to PEMs of cursor (CursorSetProp()/CursorGetProp() and updating methods). Plus it generalizes work with different kinds of record sources.
>
>>- Generally how can I implement transactions involving several remote tables using CursorAdapter in the same form?
>>
>
>The same answer. As about common transaction for different record sources, VFP8 have improved a couple of things related to organizing of shared connection, so you can have all remote sources based on the same connection, and thus use a single transaction to update all of them.
>
>>Dimitris
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement