Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG : CA ignore the NULL declaration on CursorSchema
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00967998
Message ID:
00968340
Views:
19
I think it would be useful to control the datatypes of a cursor returned. I would prefer to have another property in the CA class that works like ConversionFunc:

CursorAdapter.SelectCmdConversionFunc = "hiredate TTOD, vacdays INT"

I would like to have full control over what the data returned looks like. If I want my app to use multiple data stores, they do not always much up when using date or logical fields.


>Fabio,
>
>What's the real USE CASE for wanting to be able to create a CursorAdapter that doesn't match the data store? It seems to be far more problematic than useful.
>
>If you make a CA field nullable but the base table doesn't support it, now the CA can't push the data back to the data store where the rows have null values in the field.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform