Ok so I have my database about complete, just working on more dynamic reports. I have 5 standard reports set up. I then set them up so I could filter by one of the fields. I was just asked to add a data range to the report now. I was able to create a date range report for the overall data and was trying to get it to include the other varibale. Below is what I have so far but it opens blank. What am I missing?
DoCmd.OpenReport strReport, lngView, , strWhere & "AND [Project worksheet] = '" & Me.PW_Filter & "'"
StrReport is the report name. StrWhere is the data ranges (it works if I end the command here). I added the variable & "AND XXXXXXXX" which works seperately to bring up all records that match my PW_Filter.