Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdap & Logical Fields
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
CursorAdap & Logical Fields
Miscellaneous
Thread ID:
00900858
Message ID:
00900858
Views:
49
I am working on a conversion to a backend database where I have to store 0/1 to represent .F./.T.

I am using a CursorAdapter class and hoped if I set up a cursor schema that VFP could translate a backend database integer type into a logical field in the generated cursor but it does not. I get a Type conversion error.

Is there a way this can be done with the CA class?

When I use SPT like so, it translate Logical to Integer:

vTF = .T.
? SQLEXEC(m.iConn, "select * from TABLE where FIELD = ?vTF")
Next
Reply
Map
View

Click here to load this message in the networking platform