Newbies Kimm Posted July 10, 2007 Newbies Posted July 10, 2007 (edited) Hi All, How can I find a date range in multiple fields? Example...I have 24 date fields and I have to pull all the records between 01/01/2007 and 01/31/2007? I have to do this for each set for each month. Please help! ;) Edited July 10, 2007 by Guest
comment Posted July 10, 2007 Posted July 10, 2007 Put the dates in another table, where each date (or pair of dates, according to your previous description) is a related record.
Newbies Kimm Posted July 11, 2007 Author Newbies Posted July 11, 2007 I have been trying to figure out separate tables forever. I get so close but it never works. I always feel if I could get it to work that I could understand and it would finally click in my head. IS there any other way to do this in one table? I created an if statement with a range of 1/2007 then to flag with January 2007 and it gives me everything no matter what the date.
comment Posted July 11, 2007 Posted July 11, 2007 It's possible to do it in one table - but it would a cumbersome patch trying to cover a basic design flaw. You just need to learn about relationships. See if the attached file can get you started. Related.fp7.zip
Newbies Kimm Posted July 11, 2007 Author Newbies Posted July 11, 2007 Well I didn't think that would ever be possible but it worked! I can't thank you enough. I did the same thing that you had in your database, the only thing that I can't get to work is the cStartMonth and name (company) won't show on the preview of the report? It shows in Browse, breaks it down properly by month. I made sure the layout was in the new table and did the sub-summaries the same? Any ideas?
Newbies Kimm Posted July 11, 2007 Author Newbies Posted July 11, 2007 OK Nevermind, I realized what I did wrong. It works now!! THANK YOU FOR ALL YOUR HELP!!
Recommended Posts
This topic is 6346 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now