Connecting Tech Pros Worldwide Help | Site Map

ask for parameter ?

  #1  
Old February 27th, 2007, 02:25 PM
pdm@patweb.be
Guest
 
Posts: n/a
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.

  #2  
Old February 27th, 2007, 03:15 PM
pdm@patweb.be
Guest
 
Posts: n/a

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 ?

  #3  
Old February 27th, 2007, 03:35 PM
Jana
Guest
 
Posts: n/a

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

  #4  
Old February 27th, 2007, 04:35 PM
pdm@patweb.be
Guest
 
Posts: n/a

re: ask for parameter ?


thanks Jana - simple but effective, it works !

  #5  
Old February 27th, 2007, 04:35 PM
Jana
Guest
 
Posts: n/a

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
1) Query Parameter From ListBox? 2) Combo Box Query Parameter? exipnakias answers 20 January 6th, 2008 01:40 AM
Repetitively asked for parameter value yoursteveis answers 1 February 17th, 2007 06:46 PM
Problem not solved, ask for help again: Cannot open or create any web applicatoin! CM answers 4 November 17th, 2005 06:20 PM
parameter name conflict. How to solve? Bo Peng answers 7 July 18th, 2005 11:24 PM