Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BUG : CA ignore the NULL declaration on CursorSchema
Message
 
 
To
10/12/2004 05:10:41
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00967998
Message ID:
00968320
Views:
9
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.

>>Hi Fabio,
>>
>>>EXPECTED: The CA must respect the declaration made in CursorSchema.
>>
>>What is the ground for your expectations? Is it documented that NULL/NOT NULL are respected?
>>The nullability of the column is determined from the data source.
>>
>>Thanks,
>>Aleksey.
>
>Of course i known this,
>but:
>Aleksey, this is a bug ( design ).
>On VFP8 CursorSchema allow to override backend's datatype,
>and therefore the override of the property nullable was not supported;
>to limit, but it was the first version.
>
>On VFP9 Team add DEFAULT and CHECk support;
>why not to be able to finish the job, and allow to override nullable.
>Me it does not seem much difficult one.
>I see always this limit in the things that the team make:
>If you do not see a way in order to use one characteristic, then not implemented it, a serious error.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform