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 14:06:21
 
 
To
14/02/2008 07:29:28
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:
01292751
Views:
25
>>>>>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?
>>>>
>>>>A few minutes tracing in the debugger and you'd have your answer.
>>>
>>>Thanks Al. Great help there.
>>
>>From another of your messages: "This is really old code with lots of junky classes flying around. I'll keep looking."
>>
>>The more complex the code is, the more the debugger is your friend. Any particular reason you don't want to use the best tool for this job?
>
>Because I was looking for a specific answer fairly quickly and the app is full of complex classes and crappy code. Would have taken a lot longer than just having someone like Hugo say that is should be available in the code. Saved me lots of time. That's why I asked the question. But thanks for the pointer.

OK, so Hugo pointed out the cursor should be available, but you found it wasn't. Just out of interest, did you find out why, or did you just work around it?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform