Hi.
In a sub-form, I want to display the names of companies. However the fields that are part of the table that is linked to the form, only holds the company's ID number. What I would like to display is held in another table where the ID, Company name and main contact are held.
At the moment I have the following in a textbox:
=DLookUp([sname],[TblAccountingBillToDropDownInfo],[FrmAccountingBillToDisplay].[AccountingBillToC]=[lID])
*************
[u]Legend</u>
sname = Is the field holding the Company name in the table holding
ID, Company Name and Main Contact
TblAccountingBill...Info = Is the said table
FrmAccounting...Display = Is the sub-form in which I wish to display
AccountingBillToC = Holds the Company ID I wish to look for
lID= the field in TblAccountingBill...Info which holds the company's IDs
*************
however this only displays
#Name on the field.
Please Help.
Thanks.
LG
