Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is a ComboBox's RowSource cursor create?
Message
From
14/02/2008 08:42:27
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
13/02/2008 17:04:38
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01292415
Message ID:
01292523
Views:
18
>I have SQL as the RowSource of a ComboBox. When is that SQL run and the cursor created? It is not available in the INIT of the form and I was hoping that it would be. The ComboBox is instantiated prior to the form, right?

I don't know when exactly does VFP do it; my bet would be .requery() - try putting a
set step on
dodefault()
in there and check for the existence of the cursor when it goes there first time. My guess would be that the cursor would be created during the dodefault()... or not. Just a WAG.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform