Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro's referential integrity
Message
From
05/12/2000 10:32:34
Walter Meester
HoogkarspelNetherlands
 
 
To
05/12/2000 09:19:46
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00449269
Message ID:
00449344
Views:
10
Eric,

>My boss (also a good friend of mine so I can speak freely to him) believes it is not a good idea to use the foxpro database designer to create links and referential integrity constraints on tables. He says that it is more trouble than it's worth. He would rather use the tables the way they were used in Foxpro 2.6, all free tables. He also think it is better to code the referential integrity in the application.

>My feeling is that he is mistaken. What is the general opinion on the issue? Do the VFP programmers use the database designer? What are the advantages and/or inconvenients that I might be missing?

Personally I've found the RI builder in VFP pretty usefull. However, you've got to take care of the "trigger failed" messages or use TABLEUPDATE(2,...,...). Further deletes, insert and replacements are pretty slower than without RI. I came with a solution to build my own RI builder which is far faster than the standard one.

Walter,
Previous
Reply
Map
View

Click here to load this message in the networking platform