Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index on deleted()
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00490398
Message ID:
00490540
Views:
11
Christian,
As Bill said, you can't use parentheses () in an index name. You also need to be careful not to use reserved words like "deleted" or "Desc" in your field and index names. You can get some weird results when VFP is confused about whether you mean a field named "DESC" or want to order a cursor "Descending". The same is true with "DELETE" and "DELETED". Bill uses "Deletes" and I use "DELTED", both different from any reserved word.

HTH
Barbara

>Hello,
>
>I want to set indexes programmatically.
>How do I set an index on DELETED()?
>
>I try INDEX ON Deleted() TAG Deleted().
>
>It won't accept this tagname, but in Modify Structure I can use the tag name Deleted(). Should I leave the () away or is there another way?
>
>Thanks for your help.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform