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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to autofill a description when a related record is selected...

Status
Not open for further replies.

rogerarce

Technical User
Jan 24, 2002
57
CR
I have a table called "plants" which has the following field names: Code,description,price. I want to know if it is possible that when (in a form) someone chooses the code from a combo and the remaining fields are updated with the specific info.
Thanks
Roger
rogerarce@softhome.net
 
Hi!

If combobox contains information which you need:

me.txtDescription=me.cboComboBox.column(1)

First column of combobox is numbered 0, second one 1, third one 2 etc.

Aivars

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top