Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAttach Always Returns False
Message
 
To
28/07/2003 13:47:50
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00814123
Message ID:
00814253
Views:
8
Hi Aleksey

That helped me find the real problem. Everything worked in the default data session but did not work in a private data session. The problem turned out to be that I had forgotten to turn Multilocks On in the private datasession.

Thanks
Simon


>>Hi
>>
>>When I try use the CursorAttach method to attach a cursor to a CursorAdapter Object it always returns False and the CursorStatus remains 0.
>>
>>Since no error messages are generated I wanted to know what might cause this problem so I could track the cause. There does not seem to be any discussion in the help about why the CursorAttach method would return false.
>>
>>I am using the CursorAttach method to attach an existing VFP table to the CursorAdapter Object.
>>
>>The code is:
>>
>>Use myTable
>>omyCursorAdapter.CursorAttach("myTable")
>>
>>I set the datasourcetype to Native and filled in the UpdatableFieldlist, UpdateNameList, KeyFieldList properties prior to calling the method.
>>
>>Thanks
>>Simon
>
>Hi Simon,
>
>You should be able to obtain the error number and message using AERROR function.
>
>Thanks,
>Aleksey.
Simon White
dCipher Computing
Previous
Reply
Map
View

Click here to load this message in the networking platform