Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting from a cursoradapter
Message
From
01/05/2004 15:37:58
 
 
To
30/04/2004 04:08:44
Eyvind W. Axelsen
Profdoc Norge As
Oslo, Norway
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00898887
Message ID:
00900088
Views:
18
>Hi Borislav!
>
>A co-worker of mine and I actually found a solution to this problem, and it appears to be a bug of the cursoradapter. Using ADO, the datasource should be an ADO Recordset, and if you do the following, deleting works as well:
>
>this.datasource.properties("Unique Table").value = alltrim(this.tables)
>
>It seems to me that this is something the cursoradapter was supposed to do automagically, and hence I would classify it as a BUG.
>
>Note that you cannot set the property in the CursorFill method, as it will be reset to the empty string at the completion of this method (which further fuels my suspicion that this is indeed a bug in the CA).
>
>Best regards,
>
>Eyvind.

Hi Eyvind,

CursorAdapter does not change the value for the property and this is designed behavior.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform