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

Lookup fields and then input to a table

Status
Not open for further replies.

mxp346

MIS
Apr 27, 2002
50
US
I have a form that the user enters in an id number. According to that ID number I want the form to lookup the category and description in a table. Then I want to be able to save the ID number and the values that were looked up into a different table. The table that the values are looked up in is tblEvent(eventID, eventDesc, eventCat) and the table I want to put the values into is tblOccurance(Autonumber, OccID, OccDesc, OccCat). I tried setting up a form with the wizard using the tblOccurance fields. This set the source to each of the fields so it would save those fields in the right place, but I can't figure out how to get the values to be looked up. Can someone please help me. Thank you.

Matt
 
Use RecordSet to open the query u need and set the values

Else

dlookup the induvidual values in a Function
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top