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 get Combo Box to display two Fields on Form

Status
Not open for further replies.

bethabernathy

Programmer
Jul 13, 2001
254
MX
Hi -

I have a form where I want to display the combo box "ZipcodeID" and related text field "Area". I can add the combo box named "ZipcodeID" onto the form but can't link in another field from that table.

There must be a method to handle this, does anyone have any suggestions.

Thanks, Beth

beth@integratedresourcemgmt.com
 
I figured it out. Add an unbound text box to the form and use the dlookup syntax - i.e.:

=DLookUp("[Area]","tblzipcode","[ZipcodeID]=" & [ZipcodeID])

Pretty cool!!

Beth beth@integratedresourcemgmt.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top