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:
00190466
Views:
17
>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

I'll have a look at the stuff in XSOURCE.

If you say Sawyer & Booth's code "never needs to be regenerated", I suppose it is alternate RI code that accounts for changes in persistent relationships and so forth. How does Sawyer & Booth's book complement "The Hacker's Guide to VFP6" (also highly recommended here)? Is it worth having both or do they tend to duplicate each other? There are limits to what I or my employer will spend.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform