Hi Mark,
I believe you are missing NODEFAULT command in this code and probably in some other methods.
Thanks,
Aleksey.
>Ok, I used Mark E. McCasland builder to build my ODBC cursor adapters. The problem I am having is that CursorFill get called three times from the AutoFill. I understand that it should be called from the AutoFill method, but why 3 times. Here is the code:
>
>
>IF NOT DODEFAULT()
> RETURN .F.
>ENDIF
>
>*** Setup code: DO NOT REMOVE
>if not pemstatus(This, '__VFPSetup', 5)
> This.AddProperty('__VFPSetup', 1)
> This.Init()
>endif
>*** End of Setup code: DO NOT REMOVE
>
>It get's called from the DODEFAULT(), as I expected it to and then from the line of "if not pemstatus..." twice. I have steped through it and watched this behavior. I even have a coverage log even that shows this also.
>
>Am I missing something?
>
>TIA
>Mark
Précédent
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