I have this DLookup expression in the detailed section of a report
The report is based on a query Query8 which in turn is based on my table and
collects the values of txtDomfacsoleqtr and txtMonthlabel and txtcompany.
The report has a header for txtcompany
tblmaintabs is my table
=DLookUp("[tblmaintabs]![txtDomfacsoleqtr]","tblmaintabs","[tblmaintabs]![tx
tMonthlabel]=[txtqtr1]")
The report is based on a query Query8 which in turn is based on my table and
collects the values of txtDomfacsoleqtr and txtMonthlabel
tblmaintabs is my table
txtDomfacsoleqtr is a control on the report based upon a field of the same
name in my table - format fixed number
txtMonthlabel is a control on the report based upon a field of the same name
in my table - format date field
txtqtr1 is a calculated control on my report which is
=DateAdd("m",-3,[txtmonthlabel]) - format date field
The Expression returns a value but it is the same value for each detailed
record.
TIA
Tony