I have a cemetery database where the burial lots are organized by section (B thru R). I have created a parameter query to give me a list of lots by section (for a report). It uses the Between…And operators to ask the user for the first section and the last. My problem: I really want to display one of two conditions: one section, or all sections. I would like to use only one parameter. How do I select “all” with only one parameter?
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Parameter Query (97)
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Parameter Query (97)
- This topic has 3 replies, 2 voices, and was last updated 23 years, 7 months ago.
AuthorTopicWSHoward Hillman
AskWoody LoungerSeptember 17, 2001 at 7:21 pm #360463Viewing 0 reply threadsAuthorReplies-
WSbushaw
AskWoody LoungerSeptember 17, 2001 at 9:08 pm #542829There may be more elegant solutions than this, but here’s one that should work: Add “A” = [Enter Section] to your WHERE clause (with OR logic): e.g., something like ([Section] = [Enter Section]) OR (“A” = [Enter Section]). “A” needs to be unique (“All” would be another choice) — it can’t be one of your legitimate Section IDs. You can do this in Design mode or SQL mode. In design mode, specify “A” (with the quotes) as the field, uncheck the Show box, and specify [Enter Section] (without quotes) as a criteria (on its own row to indicate OR logic).
When you run the query and specify a legitimate section ID for the [Enter Section] parameter, the first subclause will pick up the lots belonging to that section. When you specify ‘A’ for the [Enter Section] parameter, the second subclause will pick up all the sections (that is, all the lots).
Tom
-
WSHoward Hillman
AskWoody Lounger -
WSHoward Hillman
AskWoody Lounger
-
-
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
-
How to use Skype after May? (Awaiting moderation)
by
Joann
1 hour, 1 minute ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
2 hours, 30 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
7 hours, 21 minutes ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
8 hours, 10 minutes ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
3 hours, 10 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
3 hours, 34 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
19 hours, 23 minutes ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
23 hours, 22 minutes ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
23 hours, 23 minutes ago -
Unable to eject external hard drives
by
Robertos42
2 hours, 49 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
7 hours, 15 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
4 hours, 27 minutes ago -
Synology limits hard drives
by
Susan Bradley
2 days, 3 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
1 day, 6 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
2 days, 9 hours ago -
Upgrade Sequence
by
doneager
2 days, 3 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
8 hours, 35 minutes ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
1 day, 1 hour ago -
The incredible shrinking desktop icons
by
Thumper
3 days, 6 hours ago -
Windows 11 Insider Preview Build 22635.520 (23H2) released to BETA
by
joep517
3 days, 8 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
7 hours, 20 minutes ago -
Shellbag Analyser & Cleaner Update
by
Microfix
50 minutes ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
3 days, 17 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
2 days, 22 hours ago -
Speeding up 11’s search
by
Susan Bradley
1 day, 5 hours ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
1 day, 17 hours ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
4 days, 7 hours ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
4 days, 15 hours ago -
24H2 fixed??
by
CWBillow
3 days, 7 hours ago -
Uninstalr Updates
by
jv16
4 days, 20 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.