Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding a Combo programatically
Message
 
To
20/03/2002 15:17:26
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00635187
Message ID:
00635208
Views:
16
>Hi All:
>
>I have two combos on Page2 of a pageframe. They are populated (Labtests) in the Load method of the form using a select statement.
>
>In one of the pages, the user may enter a new code and test name (in text field) which are then inserted into the Labtests table. when this happens, I would like the two combos to contain a refreshed verision of the labtests table, i.e., the should include the newly inserted test. I have the code to insert the new code and name in the Save button.
>
>Any suggestion? TIA
>
>- Ravi

Typically, if you want to refresh the combo or listbox content you issue:

combo.Requery()
combo.Refresh()
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform