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:
01516681
Views:
54
Yes I can do that.


>>Hi
>>
>>If I read the documentation correctly I should be able to create an index on an expression using Alter Table but when I try the following command I get a syntax error. Can someone tell me what is wrong or whether this is possible? I have tried a number of variations without success.
>>
>>
>>      Alter Table UPSystem Add Foreign Key Upper(Module+Name) Tag Name
>>
>>
>>Thanks,
>>Simon
>
>Use just the regular INDEX ON command to create an index. You then will be able to turn it into FK using ALTER TABLE command.
Simon White
dCipher Computing
Previous
Reply
Map
View

Click here to load this message in the networking platform