Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CursorAdapter.AutoOpen calls CursorFill multiple times
Message
From
07/04/2003 14:04:34
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00774645
Message ID:
00774813
Views:
17
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
Previous
Reply
Map
View

Click here to load this message in the networking platform