I keep getting a "0" on a DLOOKUP and cannot figure out why.....
=[OnGotFocus]=DLookUp("[Price]","Price1","[WidthxHeight_ID] = Form![WidthxHeight_ID]")
This is the control source of a text box called PriceForm.
The lookup goes out to the Price field in the Price1 table. WidthxHeight_ID is on the price table.
On the form.... [WidthxHeight_ID] is the text box that is uses for the lookup value.
The price table does have amounts in it, not just zero and the ID's match so I'm stumped as to what is happening.
Any ideas?
Thanks.
=[OnGotFocus]=DLookUp("[Price]","Price1","[WidthxHeight_ID] = Form![WidthxHeight_ID]")
This is the control source of a text box called PriceForm.
The lookup goes out to the Price field in the Price1 table. WidthxHeight_ID is on the price table.
On the form.... [WidthxHeight_ID] is the text box that is uses for the lookup value.
The price table does have amounts in it, not just zero and the ID's match so I'm stumped as to what is happening.
Any ideas?
Thanks.