Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically create PRIMARY key with FOR clause
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00323092
Message ID:
00323186
Views:
22
>Hello All,
>
>Is there a way to programmatically create a primary key on a table that includes a FOR clause? I have a table that is set up like that in the MODI STRU box, but I need a way to re-create it in code. The ALTER TABLE command doesn't accept it.
>Thanks!
>Mark
>
>P.S. I know, a FOR clause in a primary key is not good practice, but this is someone else's program.

Change the sequence of your FOR and your TAG command. I think it works one way but not the other... but, I can't remember which you had to put first.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform