PC Review


Reply
Thread Tools Rate Thread

add multiple criteria for interactive query in the same dialog box

 
 
=?Utf-8?B?am9obiBtY21pY2hhZWw=?=
Guest
Posts: n/a
 
      6th Jun 2007
i have created a query in Access 2003 which pulls info by start and end date
using the between criteria. It works great. Is there a way to have both the
start date and end date field resonses in one dialog box instead of having
them appear in two consecutive boxes?

Thanks in advance and have a great day!
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      7th Jun 2007
On Wed, 6 Jun 2007 08:46:01 -0700, john mcmichael
<(E-Mail Removed)> wrote:

>i have created a query in Access 2003 which pulls info by start and end date
>using the between criteria. It works great. Is there a way to have both the
>start date and end date field resonses in one dialog box instead of having
>them appear in two consecutive boxes?
>
>Thanks in advance and have a great day!


Use a Form (frmCriteria let's call it) with two - or twenty, if you need them
- textboxes. Use a criterion like

>= [Forms]![frmCriteria]![txtStart] AND < DateAdd("d", 1, [Forms]![frmCriteria]![txtEnd])



John W. Vinson [MVP]
 
Reply With Quote
 
 
 
 
=?Utf-8?B?am9obiBtY21pY2hhZWw=?=
Guest
Posts: n/a
 
      14th Jun 2007
I'm sorry for the follow up but I'm not sure I understand. How does this
make a query run. I dont have a very strong backgound and I dont get how
exactly I'm supposed to use the code supplied.

Thanks again, I really do appreciate your effort in getting me through this.

"John W. Vinson" wrote:

> On Wed, 6 Jun 2007 08:46:01 -0700, john mcmichael
> <(E-Mail Removed)> wrote:
>
> >i have created a query in Access 2003 which pulls info by start and end date
> >using the between criteria. It works great. Is there a way to have both the
> >start date and end date field resonses in one dialog box instead of having
> >them appear in two consecutive boxes?
> >
> >Thanks in advance and have a great day!

>
> Use a Form (frmCriteria let's call it) with two - or twenty, if you need them
> - textboxes. Use a criterion like
>
> >= [Forms]![frmCriteria]![txtStart] AND < DateAdd("d", 1, [Forms]![frmCriteria]![txtEnd])

>
>
> John W. Vinson [MVP]
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
(2.0) running an app in either Interactive or Non-Interactive mode Tim_Mac Microsoft Dot NET Framework Forms 0 9th Feb 2006 08:19 PM
In Query Design, No queries in add new table/query dialog box =?Utf-8?B?bWlrZV9taWtl?= Microsoft Access Queries 3 16th May 2005 05:55 AM
Interactive/Non-interactive ASPX ? WJ Microsoft ASP .NET 2 26th Feb 2005 03:54 AM
iNTERACTIVE EXCEL FILE NOT INTERACTIVE ON THE WEB =?Utf-8?B?a2F0aHkgaW4ga2Fuc2Fz?= Microsoft Excel Misc 0 24th Jan 2005 08:47 PM
Interactive Web Page not interactive?? =?Utf-8?B?TWljaGFlbA==?= Microsoft Excel Misc 0 4th Dec 2003 10:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:23 AM.