I have a Dlookup in a header. There are 3 table fields involved from tblReport :
Resort# eg 510, ReportNum eg 20 and BusnID eg 1. They are all number fields in tblReport.
They help find the text field Body1 from tblReport. Body1 has a few sentences.
Here is what is in the report rptTicketSplinterInd Text Box name called text132:
=Space(2) & DLookUp("[Body1]","tblReport","[tblReport]![Resort#] = " & [rptTicketSplinterInd]![ResortID] & " And [[tblReport]![ReportNum]=20" & "And [tblReport]![BusnID]=[[rptTicketSplinterInd]![BusnID]")
(it helps me show the tbl and rpt in the calc so that i can learn better.)
I get an error that says #Type.
I bet that i have my quotes all wrong. Can you help me? Thanks Cimoli
Resort# eg 510, ReportNum eg 20 and BusnID eg 1. They are all number fields in tblReport.
They help find the text field Body1 from tblReport. Body1 has a few sentences.
Here is what is in the report rptTicketSplinterInd Text Box name called text132:
=Space(2) & DLookUp("[Body1]","tblReport","[tblReport]![Resort#] = " & [rptTicketSplinterInd]![ResortID] & " And [[tblReport]![ReportNum]=20" & "And [tblReport]![BusnID]=[[rptTicketSplinterInd]![BusnID]")
(it helps me show the tbl and rpt in the calc so that i can learn better.)
I get an error that says #Type.
I bet that i have my quotes all wrong. Can you help me? Thanks Cimoli