Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Type conversion required is invalid
Message
From
11/08/2003 14:29:21
 
 
To
11/08/2003 13:43:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00818905
Message ID:
00819074
Views:
12
Aleksey,

CursorFill(.t.) raises the problem, in fact. CursorFill() downloads the records, but the column is Integer. However, if the backend is MSSql Server, both CursorFill and CursorFill(.t.) make the column Logical.

I would like a way to make it stop that ;) If I change the CursorSchema for that column, no matter if it's L or I, in one of the cases CursorFill(.T.) fails. If the cursorschema is I and the backend is MSSQL Server, fails. If the cursorschema is L and the backend is MySQL, fails again.

So I have the way to change the backend on the fly, but the cursor is not the same - and my app fails. Any thoughts? Is there a way to force the cursoradapter to download MSSQL Server's bit datatype as Integer?

I can't post a repro code, because I did all those things in Command window.

Thank you.

>
>Hi Grigore,
>
>First, try to call CursorFill(.T.) instead of CursorFill(). If it doesn't solve the problem, post a repro code.
>
>Thanks,
>Aleksey.
Grigore Dolghin
Class Software.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform