Hey ppl,
So i want to write this:
Set IRS = CurrentDb.OpenRecordset("Select * FROM " & QuDiv & " WHERE [deactivate] = false and [ManualInvoicing] = false", dbOpenDynaset)
SO i want to set QuDiv but i dont know what to save it as.
I tried
Dim QuDiv as object
Set QuDiv = "QuPriceRptDiv1"
and it came up as object error.
Ideas?