Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can be seen and printed all relations between tables
Message
From
01/05/2002 12:13:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
01/05/2002 12:02:55
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00651384
Message ID:
00651394
Views:
14
>How can be seen at debugging / programming time all relations between tables in a databases. Can be printed in a table those relations ?

This is the program I use. HTH, Hilmar.
set safety off
open database database
adbobjects(arelations, "relation")
create cursor tmprelations (child C(30), parent C(30), childtag C(10), parenttag C(10), ri C(10))
append from array arelations
index on child tag child
index on parent tag parent
set order to child
keyboard "browse" + chr(13)
set safety on
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
Reply
Map
View

Click here to load this message in the networking platform