Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter and Master detail forms
Message
From
18/10/2002 04:54:59
 
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00712726
Message ID:
00712748
Views:
5
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform