Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Uniqueness of index PRIMARY is violated
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00144393
Message ID:
00144741
Views:
28
Jim,

>I'll be happy to tell you: DO NOT USE ANY VFP RESERVED WORDS AS NAMES ANYWHERE IN YOUR CODE!

I've been naming my primary index PRIMARY since I can rememeber and I've never had a single problem doing so.

I've done things like SET ORDER TO PRIMARY and INDEX ON accountid TAG PRIMARY without suffering any consequences. Although I can see your point, maybe a better tag name would be PRIMARYKEY or something.
Jim Duffy
Microsoft MVP
INETA Speaker
TakeNote Technologies
Developer's Choice Award Winner for Best Training Company
Specializing in VB.NET, ASP.NET, VFP, and SQL Server Training and Development
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform