Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically change persistent relation settings
Message
From
26/02/2004 14:10:13
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
26/02/2004 10:43:10
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00879555
Message ID:
00881199
Views:
16
Granted...but there is still no reason why an extra clause could not be implemented to set the RI mode (Ignore, Cascade or Restrict). Eventhough it's procedural, you still have to set the RI mode via the builder.

>Hi Larry.
>
>>It is decarative beacause you can currently esatblish a persisten relationship via a PRIMARY KEY or FOREIGN KEY clause in the CREATE or ALTER TABLE command.
>
>That's not how declarative RI works. RI is handled at the database engine level in that case. Although you can use code to create the persistent relationship in VFP, creating one doesn't mean the database engine will do anything. VFP requires procedural code to implement RI. I can guarantee that will never change.
>
>Doug
L.A.Long
ProgRes
lalong1@charter.net
Previous
Reply
Map
View

Click here to load this message in the networking platform