There has to be an easy answer staring me right in the face, but I can't see it. I've got two tables: one for charges, one for credits. Both tables are updated on the 15th of the month with new charges or credits with a listed mobile number. I need to run a report each month that includes the total amount per number (charges minus credits) for the dates I enter.
Both tables have a date column, wireless number column, and amount column. Both have a BETWEEN DATE criteria on date and work when run individually. But, if I create a new query and join on wireless number, the query ignores the date criteria. If I join on date, the query applies the credits to all wireless numbers. How can I join these so that if I enter 03/14/09-03/16/09 it returns the charges and credits per line only for that period from both tables? What am I missing? Thanks in advance for any assistance.
Both tables have a date column, wireless number column, and amount column. Both have a BETWEEN DATE criteria on date and work when run individually. But, if I create a new query and join on wireless number, the query ignores the date criteria. If I join on date, the query applies the credits to all wireless numbers. How can I join these so that if I enter 03/14/09-03/16/09 it returns the charges and credits per line only for that period from both tables? What am I missing? Thanks in advance for any assistance.