Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of Stored Procedures
Message
From
27/05/1998 16:35:05
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00101049
Message ID:
00102527
Views:
16
If it is only the RI code firing in B it should work. Really the RI code should
fire last. Try switch the A trigger from:
Try to switch the A trigger.
  From:
     __ri_insert_A() .AND. AddToB()
  To:
     AddToB() .AND.  __ri_insert_A()
=========================
>>Is the trigger in B necessary if being fired based on the trigger of A?
>>If not, you might try place code in your B trigger to bypass if called from
>>the trigger of A.
>>==========================
>The trigger in B is generated by the VFP RI builder and really just checks that the FK value exists in the parent table . I'd rather not have to roll my own RI code, but if there is no other way...
>
>Rob
----------------------------------
-myron kirby (mkirby2000@gmail.com)-
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform