Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old February 27th, 2007, 02:25 PM
pdm@patweb.be
Guest
 
Posts: n/a
Default ask for parameter ?

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
Default 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
Default 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
Default Re: ask for parameter ?

thanks Jana - simple but effective, it works !

  #5  
Old February 27th, 2007, 04:35 PM
Jana
Guest
 
Posts: n/a
Default 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

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles