Hi,
I am attempting Dlookup in a textbox in FrmSales.
When I use this,
I get no return, but when I use this
I get the proper results.
CboProducts is a combobox with the selection Red,Green,Blue and any of the three words hardcoded in the formula gets the correct results.
What am I missing ?
Thanks
I am attempting Dlookup in a textbox in FrmSales.
When I use this,
Code:
=DLookUp("[Price]","TblProduct","[Product]='" & [Forms]![FrmSales]![CboProduct] & "'")
Code:
=DLookUp("[Price]","TblProduct","[Product]='" & "Red" & "'")
CboProducts is a combobox with the selection Red,Green,Blue and any of the three words hardcoded in the formula gets the correct results.
What am I missing ?
Thanks