Similar Threads:
1.Q: query asks for parameters multiple times
Hi all,
Using Access 2003. I have a query that's based on one table. I need to
search a few fields for text so I concatenated those fields and have the
criteria as shown below:
Field: [CSFNM1] & [CSLNM1] & [CSADD1] & [CSADD2] & [CSADD3] & [TNFNAM] &
[TNLNAM]
Criteria: Like "*" & [Enter Search Text] & "*"
All other fields in the query are there for viewing, ie. there's no other
criteria. I have added [Enter Search Text] as a query parameter, set to text.
There are no other query parameters.
For some reason, when I run the query, it asks me to fill the [Enter Search
Text] parameter 4 times. When it does run, it returns what I'm looking for,
but why does it have to ask 4 times?
Thanks!
-Mark
2.query filter asking multiple times
Hi,
I have a query which i have created by two linked tables. I have then based
a report on this query. In the query i have written [Enter Date] in the date
column and [Enter Shift] in the shift column. When i open the query it asks
me once to enter the date and enter the shift and seems to work. When I open
the report it asks enter date and enter shift multipl times (like it is
asking per page) What am i doing wrong?
3.Issue with multiple parameter driven form- based Query
Ok, here's the dilemma. 9 variables in drop downs on my form that
am using as values for a parameter query.
In my criteria for one of the fields in the query there is:
Criteria: [Forms]![Sort]![Contact]
Or: [Forms]![Sort]![Contact] Is Nul
This brings back information only if I put in a value on the form
when I don't put in a value the return is totally blank.
When I recode to:
Criteria: Where Contact Like Forms![Sort]!Contac
Or: Forms![Sort]![Contact] like "*
I get both the ones I need and all the rest (because of wildcard).
How do I get the search to return ONLY the value I put on the form
OR everything if no value is specified. Basically I want somethin
like:
Criteria: [Forms]![Sort]![Criteria
Or: Where Contact Like Forms![Sort]![Criteria] = null sub "*
When I put this all in the criteria line:
[Forms]![Sort]![Contact] OR [Forms]![Sort]![Contact] Is Nul
I get the correct response when I enter a dropdown selection on th
form (contact), but when I don't enter a contact I get nada...
Any advice
4.multiple apps oppening by themselves sometimes 20 at a time
Access or Word open, all of a sudden 10-20-30 windows open!!! as if you have
double clicked the app icon 10-20-30 times, all blank not just a repeat of
the app originally opend. Does it with word access etc so office is affected
in someway.
Happens in a split second, no warnings at all.
Any ideas?
Kev
5.parameter query prompting multiple times
I'm having a problem with subreports based on parameter query, however, I
don't understand about the master child fields.
My report is set up with one subreport (that will only return one value) in
the page footer section, another 2 subreports (returning multiple values) are
setup in the report footer section. All are run off of parameter queries.
They all have the date (warehouse load or unload) is common. The report
currently prompts for each query 3 times to open the report.
Can I make this work for my situation?
Thanks,
Dragon
------------------------------------------------------------------------------
"Marshall Barton" wrote:
> JohnLute wrote:
>
> >I posted this previously but the resolution didn't work and was rather
> >complicated. I'm wondering if there's a more simple approach.
> >
> >I have a parameter query in a subreport that works fine. However, when I add
> >this subreport to the main report and execute it the parameter query prompts
> >me four times before it finally returns the report. The Master/Child fileds
> >are setup properly.
> >
> >I can't see where/why this is happening. Any ideas?
>
>
> You are being prompted each time the subreport appears in
> the main report.
>
> A better way is to use a form for the user to enter the
> parameter value. Then modify the query to refer to the text
> box on the form instead of using a prompt string (e.g.
> Forms!theparameterform.thetextbox).
>
> --
> Marsh
> MVP [MS Access]