Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding table to a form from a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00045276
Message ID:
00045474
Views:
41
>I have made an .SCX based on my class, run with a DO FORM. I could make a subclass for this specific use, with my table build in, but it seems like I shouldn't have to do that.

Bret,

You can pass parameters to the fomr's Init to tell what tables to open. If you open the table in the Init then you'll need to make all of the controlsources blank to prevent errors as the controls instantiate. They get created before the Form's Init runs so in the Init after you open your table you will neeed to set the controlsources for the objects in the form.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform