Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Alter Table Add Foreign Key Problem
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01515890
Message ID:
01515901
Views:
64
Simon, you need to reference the "master" table, something like:
      Alter Table UPSystem Add Foreign Key Upper(Module+Name) Tag Name REFERENCES someOtherTable

* optionally you can use a tag here if you do not want to use someOtherTable's PK by adding at the end of the previous command "tag {someOtherTable's existing tag}"
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform