Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Create tables relation
Message
From
22/11/2006 12:53:19
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01171587
Message ID:
01171852
Views:
6
>Himar, am I missing something here? Isn't this just a case of the Set Relation command?

I assumed he wanted to define RI. SET RELATION does not define RI.

>GENDBC prog, run on a databse with relationships already set up, produces a program from which you can look at the code necessary to progtrammatically set up relns. etc.

Oh, right, I had forgotten about GENDBC. Actually, I thought the relation was problematic, to create programmatically.

However, I still prefer the code I outlined, since it allows you to make arbitrary changes to a database structure - without changing the program every time.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform