Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQLEXEC and the underscore
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00615659
Message ID:
00615685
Views:
19
Mark

When I run into this error, I run an SQLCOLUMNS(tablename). This will return a result set with the field names, types, etc. I then use that result set to make sure I'm calling the columns by the right names.

Dorris


>Larry, I have also tried this on a field named "CLAIM_". The AERROR is returning: *** Column not found: CLAIM_
>
>I know the column exists, because I can use:
>QueryString = 'SELECT * FROM SOURCE WHERE RECORD_NUMBER= 15300'
>Results = SQLEXEC( handle, QueryString, 'TARGET')
>
>and this code returns 1 record with one of the columns being named CLAIM_
>
>The table I am pulling data from has several fields that end with an underscore which all give me the same headache.
"You don't manage people. You manage things - people you lead" Adm. Grace Hopper
Pflugerville, between a Rock and a Weird Place
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform