Here is what I have:
1. A form with a combox based upon a table called "Month_Lookup"
Month_Lookup: -Month (This is the value in the form)
-Start Date
-End Date
2. A query called "Month_Table": -Month (Criteria is from combobox: [Forms]![Main]![cbo_Month]
-Start_Date
-End_Date
-New_SD: DateAdd("m",-1,[Start_Date])
-New_ED: DateAdd("m",-1,[End_Date])
3. Many different queries I would like to base the date criteria off the one above. Here is the code I tried but it didn't work. Not sure how to do this.
>=[Query]![Month_Table]![New_SD] And <=[Query]![Month_Table]![New_ED]
What am I doing wrong and how can I accomplish this?