Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically removing persistant relationships
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00189004
Message ID:
00190423
Views:
22
Hi Bret.

>Any idea how I can regenerate the RI code programmatically after removing stuff?

I haven't tried this, but you could look at the source code for the RI Builder (in TOOLS\XSOURCE), instantiate the appropriate class, and call the Click method of the OK button (which does the work of generating the RI code).

Actually, an even better solution is to use code that never needs to be regenerated. Steve Sawyer has written such a routine and published in the book he and Jim Booth wrote call "Effective Techniques for Application Development With Visual FoxPro 6". It's available from Hentzenwerke Publishing.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform