473,406 Members | 2,369 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Parameter Query Prompts

I have a paramter query that wants either of 2 date fields in a table to be before a certain date.

Select * from tblExample where Date1 < [dtCutoff] or Date2 < [dtCutoff]

When I open this query, it prompts me twice for dtCutoff. I've verified I'm using the same spelling and capitalization.

Is there a way to make it only prompt once?

Nov 13 '05 #1
2 1617
On Sun, 23 Jan 2005 17:06:46 GMT, HateSpam wrote:
I have a paramter query that wants either of 2 date fields in a table to be before a certain date.

Select * from tblExample where Date1 < [dtCutoff] or Date2 < [dtCutoff]

When I open this query, it prompts me twice for dtCutoff. I've verified I'm using the same spelling and capitalization.

Is there a way to make it only prompt once?


As far as I can see, it should only prompt once.
Is the query the record source for a report?
Are you sure the second prompt is from the query, and not from a no
longer used control in the report of which the query is record source?

--
Fred
Please only reply to this newsgroup.
I do not reply to personal email.
Nov 13 '05 #2
As far as I can tell it should prompt you twice, because you are passing
along two parameters.
Maybe I don't understand the question?

"HateSpam" <Ha******@nospam.com> wrote in message
news:GQ*******************@fe2.columbus.rr.com...
I have a paramter query that wants either of 2 date fields in a table to be
before a certain date.

Select * from tblExample where Date1 < [dtCutoff] or Date2 < [dtCutoff]

When I open this query, it prompts me twice for dtCutoff. I've verified
I'm using the same spelling and capitalization.

Is there a way to make it only prompt once?

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: MX1 | last post by:
Simpler way to ask question from my previous post. I wrote a query and it has a paramter field in it. I want to enter a date with the current year. If it I put in 6/30/2003, it works great. If I...
13
by: forbes | last post by:
Hi, I have a user that used the Query Wizard to create a query in Access. Now she claims that her master table is missing all the data that was excluded from the query. Can you create anything...
2
by: angie | last post by:
I need to figure out how to create a user interface to search a query, but here's the bad part...I need to account for criteria on at least 7 of the fields. Here's what I'm thinking I need to do:...
2
by: Dud Bug | last post by:
I have a query in an Access db that prompts the user for info. (e.g. a primary key representing a company) before compiling the relevant table of results. This works fine in Access but I want to use...
6
by: fieldja | last post by:
I have a form called OwnerForm. It contains a combo box called Owner. The combo box looks up names from a table called OwnerName. It contains fields called OwnerID and Owner. I also have a main...
3
by: vljones | last post by:
I am either having an extended blond moment or have been looking at this too long. This is a basic question but I simply cannot get my head around the solution. I have a Search form with grouped...
0
by: jschmidt | last post by:
I am working in MS Access 2003. I made a parameterized query and would like to change the title of the parameter window that prompts the user for input. Does anyone know how to do this? I seem to...
1
by: Gogo | last post by:
Older query has parameter prompt popping up. How do I get rid of the prompts? If I wanted to keep one parameter prompt how do I learn what needs to be keyed in?
25
by: DanicaDear | last post by:
I am trying my hand at my first ever Access report. It is based on a two parameter query (start date, end date). When I use the report wizard and click "view report" the report prompts me for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.