I have a report that needs to filter on a date field (or two) in order to choose active clients. There is a Start Date and an End Date and they are separated by 6 months. So if the start date is Jan 15 the end date is July 15. So if I am printing the report for January, the client is active and if I am printing for August, they are not. I cannot, for the life of me, wrap my head around the math so that I get the correct output.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Date ranges (2000(sr3))
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Date ranges (2000(sr3))
- This topic has 6 replies, 2 voices, and was last updated 17 years ago.
AuthorTopicWSPeterN
AskWoody LoungerApril 14, 2008 at 4:42 pm #450202Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody Lounger -
WSPeterN
AskWoody LoungerApril 14, 2008 at 10:51 pm #1105611Currently they are both in the table. End is calculated in an afterupdate event from Start and again from Length if they change it from the default 6 months. I suppose there is no good reason to store end in the table now that you mention it and it certainly isn’t too late to change it if there’s a strong reason to do so.
-
WSHansV
AskWoody Lounger -
WSHansV
AskWoody Lounger -
WSPeterN
AskWoody LoungerApril 15, 2008 at 12:22 am #1105637The user will ultimately enter it via a form for choosing reports to print and there will be a reference to that field in the query. Currently I am using a prompt as I haven’t decided on form design yet. Feel free to give me a formula for either. I can adapt it from there.
I take your point in your other post. Recording the end date seemed like a good idea at the time… -
WSHansV
AskWoody LoungerApril 15, 2008 at 12:31 am #1105639Enter your parameter prompt in the Field row in an empty column in the query, e.g. [Enter Date]
Access will change it to something like Expr1: [Enter Date] but you don’t have to worry about that.
Clear the Show check box for the column.
Enter an expression like this in the Criteria line for this column:Between [Start Date] And DateAdd(“m”,[Length],[Start Date])
where Start Date is the name of the start date field and Length is the name of the duration field, assumed to be expressed in months.
If you use a form, replace the parameter [Enter Date] with a reference to the start date text box, e.g. [Forms]![frmParam]![txtStartDate]
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Documents, Pictures, Desktop on OneDrive in Windows 11 (Awaiting moderation)
by
ThePhoenix
23 minutes ago -
End of 10
by
Alex5723
46 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
1 hour, 15 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
2 hours, 6 minutes ago -
Privacy and the Real ID
by
Susan Bradley
4 hours, 9 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
16 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
14 hours, 10 minutes ago -
Upgrading from Win 10
by
WSjcgc50
7 hours, 28 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
6 hours, 13 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
1 day, 2 hours ago -
The story of Windows Longhorn
by
Cybertooth
14 hours, 32 minutes ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 day, 4 hours ago -
Are manuals extinct?
by
Susan Bradley
1 hour, 1 minute ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
1 day, 13 hours ago -
Network Issue
by
Casey H
1 day ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 1 hour ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 2 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
2 days, 4 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 day, 5 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
2 days, 6 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
2 days, 6 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
2 days, 13 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 day, 6 hours ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 1 hour ago -
How much I spent on the Mac mini
by
Will Fastie
8 hours, 35 minutes ago -
How to get rid of Copilot in Microsoft 365
by
Lance Whitney
1 day, 4 hours ago -
Spring cleanup — 2025
by
Deanna McElveen
3 days, 7 hours ago -
Setting up Windows 11
by
Susan Bradley
2 days, 2 hours ago -
VLC Introduces Cutting-Edge AI Subtitling and Translation Capabilities
by
Alex5723
3 days, 2 hours ago -
Powershell version?
by
CWBillow
3 days, 3 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.