PC Review


Reply
Thread Tools Rate Thread

Combined restriction

 
 
=?Utf-8?B?SmFzb24=?=
Guest
Posts: n/a
 
      15th Feb 2006
I am tryting to run a qry based on resrtictors in a from. Is it possible to
set it up so that the from has several option to restrict the data but at the
same time I can leave soem of those restrictors blank so they do not effect
the qry? In other words my qry includes dates and course names. I would like
to run the report for a certin course but to not care about the date and visa
vera. Thank you in advance
 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      15th Feb 2006
Are you saying that your query is using controls (text boxes, combo boxes,
etc.) on the form as parameters. so that you've got something like
Forms!MyForm!MyControl as the criteria in your query grid?

Change that to (= Forms!MyForm!MyControl) Or (Forms!MyForm!MyControl Is
Null)

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no private e-mails, please)


"Jason" <(E-Mail Removed)> wrote in message
news:813B6826-B55D-4B2C-ABF9-(E-Mail Removed)...
>I am tryting to run a qry based on resrtictors in a from. Is it possible to
> set it up so that the from has several option to restrict the data but at
> the
> same time I can leave soem of those restrictors blank so they do not
> effect
> the qry? In other words my qry includes dates and course names. I would
> like
> to run the report for a certin course but to not care about the date and
> visa
> vera. Thank you in advance



 
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
help with IF and VLOOKUP combined Natalie Microsoft Excel Worksheet Functions 2 23rd Jul 2009 05:22 PM
More on Combined IF Function Elaine Microsoft Excel Worksheet Functions 2 9th Apr 2009 08:54 PM
can these be combined rodchar Microsoft C# .NET 3 25th Nov 2008 04:05 AM
If combined with OR & AND =?Utf-8?B?TWlja2k=?= Microsoft Excel Misc 11 21st Nov 2007 10:10 PM
system restriction message where no restriction implemented Zack Windows XP Security 0 12th Jul 2003 11:48 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:31 PM.