>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