Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error when generating RI
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00778363
Message ID:
00778545
Views:
17
OK - was able to do a little more research and found out some information. This error is being generated from VFP's RI builder - NOT our own procedure code. I did, however, get the debugger to pop up and I see the problem but I don't know how to resolve it.

Using a table called "Lags" as an example, here is our CURRENT insert trigger on the table as it existed under VFP7:

__ri_insert_lags().AND.(createauditrecord("Insert"))

Obviously, we manually added everything after __ri_insert_lags(). When regenerating the RI under VFP7 there is no problem. However the VFP8 builder does something different. The reason we're getting the error is because the variable lcOldTrigger only contains ".AND.(createauditrecord("Insert"))". So, the statement "CREATE TRIGGER ON (tcTableName) FOR &tcEvent AS &tcOldTrigger" would indeed fail because there is nothing to the left of the ".AND.".

Any ideas on how we are supposed resolve this? If this change to the RI builder is documented somewhere where is it? If it isn't, then why not??

Jon
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform