Connecting Tech Pros Worldwide Forums | Help | Site Map

ask for parameter ?

pdm@patweb.be
Guest
 
Posts: n/a
#1: Feb 27 '07
I have a simple query.In one colomn I make a new field out of two.

COLUMN
ID: [MNR] & " " & [TASK]
Group By


Finally it works, he is showing the result I espected. But there is an
a little problem. When I ask to perform, activate the query he is
asking for a parameter for MNR (MNR : in the same query, get the
monthnumber by two digits MNR: Format([DAG];"mm").

how to avoid the question to put in a parameter for MNR ? I fill
nothing in and finally the query gives a perfect result.


pdm@patweb.be
Guest
 
Posts: n/a
#2: Feb 27 '07

re: ask for parameter ?


a step between : first I make the query : MNR: Format([DAG];"mm") and
all the other data.

I make a new query - take all the data of the previous one and add ID:
[MNR] & " " & [TASK]

But then I have to double all my queries. Its should be better that I
got my result in one single query. Any better solution ?

Jana
Guest
 
Posts: n/a
#3: Feb 27 '07

re: ask for parameter ?


On Feb 27, 8:05 am, p...@patweb.be wrote:
Quote:
a step between : first I make the query : MNR: Format([DAG];"mm") and
all the other data.
>
I make a new query - take all the data of the previous one and add ID:
[MNR] & " " & [TASK]
>
But then I have to double all my queries. Its should be better that I
got my result in one single query. Any better solution ?
Try putting ID: Format([DAG];"mm") & " " & [TASK] in your query
instead of [MNR]

HTH,
Jana

pdm@patweb.be
Guest
 
Posts: n/a
#4: Feb 27 '07

re: ask for parameter ?


thanks Jana - simple but effective, it works !

Jana
Guest
 
Posts: n/a
#5: Feb 27 '07

re: ask for parameter ?


On Feb 27, 9:23 am, p...@patweb.be wrote:
Quote:
thanks Jana - simple but effective, it works !
Yay! You're quite welcome ;)

Jana

Closed Thread