E
Eric
I'm getting the above message when trying to open the recordset. ( set rsin)
Q = DLookup("[Quarter]", "tblSettingsRentalQuarters", "[Process]= True")
QY = DLookup("[QYearProcessed]", "tblSettingsRentalQuarters", "[Process]=
True")
QEnd = DLookup("[QEndDate]", "tblSettingsRentalQuarters", "[Process]= True")
Set db = CurrentDb()
Set rsin = db.OpenRecordset("SELECT * FROM Rental_Payments_ReportData WHERE
QuarterProcessed = '" & Q & "' And [QYearProcessed] = '" & QY & "' And
[LeaseExpDate] < #" & [QEnd] & "#")
I have no idea why i'm getting this message?
Anyone knows why?
Q = DLookup("[Quarter]", "tblSettingsRentalQuarters", "[Process]= True")
QY = DLookup("[QYearProcessed]", "tblSettingsRentalQuarters", "[Process]=
True")
QEnd = DLookup("[QEndDate]", "tblSettingsRentalQuarters", "[Process]= True")
Set db = CurrentDb()
Set rsin = db.OpenRecordset("SELECT * FROM Rental_Payments_ReportData WHERE
QuarterProcessed = '" & Q & "' And [QYearProcessed] = '" & QY & "' And
[LeaseExpDate] < #" & [QEnd] & "#")
I have no idea why i'm getting this message?
Anyone knows why?