Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with CursorAdapters cursor schema
Message
From
04/10/2003 04:00:16
 
 
To
04/10/2003 03:11:14
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00833764
Message ID:
00835061
Views:
22
Hi Dimitris,

>Aleksey,
>
>I was thinking to use a similar solution as yours - at the moment I am doing a copy paste from the buildin builder.
>

If you run my code, it automatically puts the schema into clipboard, the only thing that is left to do is paste it into right place and modify data types.

>
But the problem with the builders is that by using :
>
>SQLEXEC(con,"select * from customers","res")
>AFIELDS(aflds)
>
>they assume that the data type conversion that is made (or what the back end gives) is allways correct, which is not the case. I am telling you this because for instanse some drivers (Oracle) can return a Number Datatype which VFP interprets as N(20,0) but the value returned may have decimals (for instanse 1.235), as you understand we have to convert by hand the N(20,0) to N(20, 4).
>

Do you mean "manually convert data" or "manually change data type in CursorSchema"?

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform