Good evening all,
I am really hoping someone will be able to steer me in the right direction with this query.
I have a table called ProductT this table has two fields relevant to this question. The first field is ProductName and the second field is CostPrice. I also have a table called PurchasesT this information has these two fields and a totals field. What I would like to do is set the Costprice in PurchasesT to auto populate. I have created a form from the table PurchasesT and this form has a lookup so that you can select the ProductName from the list. If i add =Dlookup("CostPrice","ProductT","ProductName="&[ProductName]) I get an error. I have made sure that the fields have the same strings eg CostPrice has currency flagged on both tables. I have even changed this to short text and number to see if it will pull the correct data.
Any help would be really appreciated.
Thank you in advance
Glen Sheppard