Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cascading Referential Integrity
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01499588
Message ID:
01499604
Views:
48
>>>
>>>
>>>>1. Can it be done in VFP and is it reliable/stable
>>>yes, it's wrapped in a transaction
>>>
>>>>2. If 1. is Yes, where do you start? I want to build a rule for an update of one of the parent fields, as a test and see how it works.
>>>
>>>modi database
>>>rightclick - Edit referential integrity
>>
>>Thank you, Gregory. I will follow your suggestion on "right click ... edit ".
>>Question. When you are saying that it is "wrapped in a transaction" will I see the code once I set the referencial integrity rule? My understanding is that this code will have to be somewhere, right? will it be in the database?
>
>When you add VFP based RI, it adds bad code as triggers to the DB. You can check it also when right clicking on the database and looking at its code.
>
>I said bad code, because it's too verbose. There are alternatives and we used one a while back.

As far as "verbose", I don't mind as long as it works reliably. And what was the alternatives you used?
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform