Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC oddity question
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
ODBC oddity question
Miscellaneous
Thread ID:
00230950
Message ID:
00230950
Views:
49
I'm using VFP as a front end to an access MDB.
Using an access query I can...
select IIF(gender=1,'M','F') as sex and it works fine, thru ODBC the same select in a vfp cursor returns the correct value but in a MEMO field. I get the same problem if I use the the STR$ function or even a literal. select STR$(num) or select ' ' as field1 both create memo fields instead of a character field with a length of 1.

This is dynamic so I'm using SQLEXEC vs a view.

Any ideas?
-TomC
Reply
Map
View

Click here to load this message in the networking platform