Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot change order on table
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP1
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01040941
Message ID:
01040943
Views:
16
This message has been marked as the solution to the initial question of the thread.
>I am trying to open a table programmatically and it keeps telling the table has no order set. If I open by the command line it works fine. The index is there and I can set the order to. But if I put this code in a program I get Table has no order set. Here is my code:
>
>
>
>IF !USED("cmscomp")
>    USE CMSCOMP IN 0 ALIAS CMSCOMP ORDER ARTIKEY
>ENDIF
>
>
>Any suggestions why this is this case

Check if you have the table with the same name but w/o CDX somewhere else in current path of your application.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform