Dlookup troubles copy value from one table to another using combobox in a form (1 Viewer)

David82

New member
Local time
Today, 23:05
Joined
Dec 28, 2018
Messages
3
Having troubles getting a value from table A col2 to Table B col4 using a combobox in a form. Where the value in TableA col2 is equal to the value selected in the combobox.

Table A contains :
col1 items(primary key[short txt])
col2 price(Number[Euro])

Table B contains :
col1 ID(Primary key[Auto]
col2 items([short txt]) COMBOBOX (List Table A col1)
col3 Numberofitems (number)
col4 price
col5 subtotal (calculated field)

Tried several methods to do this but lacking the expert knowledge i think
I hope i'm on the good way using dlookup in the first place for this .
 

David82

New member
Local time
Today, 23:05
Joined
Dec 28, 2018
Messages
3
Thank you for the help. "pbaldy"

Got the method of displaying the value in the textbox working.:):)
but a little bit confused in where to place the "ME...." command so it saves the value in the correct field and record.:confused::confused:

Still struggling with code :banghead:
 

Users who are viewing this thread

Top Bottom