Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box Problems

Status
Not open for further replies.

ind

Programmer
Mar 9, 2000
121
US
I have a popup form that contains a combo box with the list of my chart of accounts as the recordsource. I have set up a command button on another form to open the popup form. I want the value of the combo box to be entered in a text box on the form with the command button used to open the popup form.
 
Assuming you have not opened the popup form as modal then the syntax is simply:<br>
<br>
forms!yourformname!txtFieldname=me!comboboxname<br>
<br>
<br>
This code should be placed in the after update event ot the combo box.<br>
<br>
<br>
WP <p>Bill Paton<br><a href=mailto:wpaton@neptune400.co.uk>wpaton@neptune400.co.uk</a><br><a href=
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top