Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relation on same table
Message
From
27/05/2006 09:18:17
 
 
To
27/05/2006 08:58:28
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01125494
Message ID:
01125496
Views:
19
>I have table that has relation to itself. I have related field Field1 to field Field2 and set referential integrity for update to be Cascade (Delete - Restrict, Insert - Ignore). When I change value of Field1 it doesn't want to update Field2 with new value, it says that trigger failed.
>
>Why is that happening? Any solution?

Boban,

Once a Trigger routine is entered for a table, no modifications are allowed on that table

It is ok to have a cascade Table1 >> Table2, but not Table1 >> Table1
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform