Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EXE Has Error and APP Does Not
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00328341
Message ID:
00328431
Views:
23
>>I'm getting an error in an EXE, saying 'Unknown Variable' when I am setting the order of a table. I'm not using a variable, rather it is simply 'SET ORDER TO queryorder IN search'.
>>
>>The table is part of a container, and I am using long field names. The APP performs as expected, but the EXE is interpreting the 'QUERYORDER' tag as an unknown variable. The error is not referencing another line, because there is no error if I disable the 'SET ORDER' command.
>
>Look at the index expression for tag "queryorder". Does it contain any references that VFP can't resolve - e.g. field name that may have changed, FOR expression, etc.?

Everything appears to be okay. If there was a problem with field names and expressions, the APP would mostly likely generate an error, too. The error is only occurring in the EXE. I have also packed the project, rebuilt all files, reloaded FoxPro, and restarted the PC, all with the same results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform