Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter in the DataEnvironment
Message
 
 
To
07/02/2005 15:30:25
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00984557
Message ID:
00984877
Views:
13
What I did in VFP8, was create a dummy DBC that contained an empty table for every CA in my class library. Each table name was the same as the value of the Alias property of each CA. I would drop the needed tables from this dummy DBC into the DE of the form for drag-and-drop of fields onto the form. When done, I just delete the table from the DE and leave the respective CA in the DE. Since the Alias property of the CA is the same as the table name just removed from the DE, the ControlSources of the objects dropped on the form, your form objects are still bound correctly.

If you download my CABuilder.zip file from the FoxPro Tools link at http://www.mctweedle.com, there is a cr8_db PRG file that will create this dummy DBC and tables for your CA class library. There are 2 CA builders there, the one you want is NOT the CABuilder for VFP9.

>Hi!
>
>What is the easiest way in VFP 8.0 to Add a CursorAdapter Object (already created in a class Lib with it's CursorSchema defined in the Init) to the DataEnvironment of a Form when the CursorAdapter's CursorSchema is bigger than the 255 char limit of the property sheet so that I can drap and drop it to create an updatable grid based on that CursorAdapter with all it's fields on the form.
>
>Thanks
>
>Sarosh
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform