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:
00144716
Views:
27
Richard,

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

There, is that what you want?

No, I can't tell you exactly where trouble will arise, I can only tell you that you are INVITING trouble by doing so. Trouble which could well be VERY HARD to nail down.

Cheers,

Jim N

>>>So, is it the consenus then that it is a bad/dangerous thing to name my Primary index "PRIMARY"?
>>
>>This is an interesting discussion. I think we've all been in that situation once.
>>
>>More than that, we also have to think ahead. Which means, a word used in code, index definition, etc., might be available to use now but may become a reserved word for upcoming versions.
>
>While your comments imply I shouldn't use the word Primary as an index name, nobody has actually said so...
>The reason I ask is because the person who trained me says he does/did it all the time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform