Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox RecordSource Options
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00144858
Message ID:
00145004
Views:
51
>That's true. I guess it looks better. I just thought it would be slower.
>
Michelle,

That depends on how the city combo is being populated.

I have come to realize that optimizing for performance should be the last thing you do in development. First make it behave the way you want it to, if you then notice that that approach is too slow, optimize for performance. For example, here's some code that would get the best of both approaches, in the combo state when;
* cboState WHEN
* Check to see if the suer hits another key in 1/2 second
IF CHRSAW(.5)
   * If they did hit a key get out of here
   RETURN
ENDIF
* If the did not hit a key, refresh the cbocity
THISFORM.cboCity.ReQuery()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform