>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.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement