I am trying to add my company name, address etc... to the top of a report. My company information isn't related to anything so I am trying to use the DLookUp function. However, I have never done DLookUp without criteria and I keep getting a syntex error. I have no problem when I use:
DLookUp("[MyCompanyName]","tblMyCompany"
'This works'
But when I want to add multiple fields to one line it's not working. This is what I have been trying:
DLookUp("[MyCompanyAddress]& ' ' & [MyCompanySuite]", "tblMyCompany"
Can somebody please point me in the right direction? Thank you.
DLookUp("[MyCompanyName]","tblMyCompany"
But when I want to add multiple fields to one line it's not working. This is what I have been trying:
DLookUp("[MyCompanyAddress]& ' ' & [MyCompanySuite]", "tblMyCompany"
Can somebody please point me in the right direction? Thank you.