Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CursorAdapter.AutoOpen calls CursorFill multiple times
Message
De
07/04/2003 14:04:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00774645
Message ID:
00774813
Vues:
18
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
Fil
Voir

Click here to load this message in the networking platform