Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Use of a field name DESC in SQL
Message
 
To
30/09/2001 23:40:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00562338
Message ID:
00562982
Views:
19
>>
>>What is the error message?
>
>It says DESC is not found as the field is evaluated to an EXP_1. Basically, the error is generated from the next line which deals to read the DESC field. The problem is that the SQL is sometimes evaluating it and sometimes not. So, if I reference to DESC after, I may have the error.

Just a thought - does the error only occur on certain records? In other words, can you reproduce it consistently. It might be intermittent if, say, the DESC field is NULL, or possibly if it is selected in a certain order and is, for example, the last field in the select (...and the value is null). I've had a look at some of my own code where I use DESC as a field-name but couldn't reproduce the error, even when the field-name was NOT qualified, so perhaps the error is linked to your data.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform