Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
CursorAttach Always Returns False
Miscellaneous
Thread ID:
00814123
Message ID:
00814123
Views:
49
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
Simon White
dCipher Computing
Next
Reply
Map
View