Hello all,
I am new to this forum and to access so please forgive me for asking schoolboy questions.
I am trying to do something that I know is simple... Dlookup a value into a text box on a form based upon info in another textbox.
I have a Table: Order Details
The table has two fields: Order ID & Unit Price
I have a Form: Orders
The form has two text boxes: Order ID & Unit Price
The unit price text box has the command below assigned to it.
=DLookUp("[UnitPrice]","Order Details","OrderID = " & [Forms]![Orders]![UnitPrice])
Why on earth is this not working? I have copied it form the MS help function so it can't be anything major. It just returns a #Type! error.
I have trawled the forums but can only find solutions for complex Dlookup requests and I cannot get my head around them.
Thanks in advance,
Ivan.