Ask a Question related to Microsoft Access, Design and Development.
-
Mary #1
use form to enter report criteria
I'm using a form to enter report criteria with a combo box
for badge and date. Is there a way to leave the badge
blank if I don't want to reduce the number of records by
the badge criteria for that particular view of the
report? Thanks.
Mary
Mary Guest
-
Multiple criteria from FORM field in a quiry
I've got an input form where i'm trying to sort dates in an output quiry. The date out put should either list open, or closed, or all issue from... -
Building Query criteria dynamically based on Form inputs
I need to dynamically build a db query based on form inputs; this such a typical thing I am hoping someone can shortcut me to a more elegant... -
Making a date criteria in a form
Hello Everyone, I have an Access database that I have already constructed a very cool query from and a report to go with the query. What I need... -
How to link 3 different combo boxex in a form (as report criteria) to the report
I would like to use 3 combo boxes in a form as parameter criteria for a report. When I open a report, there will be a pop up form with 3 combo... -
Form Control to celect Rep.Criteria
do you know where to find calendars to place on the form as a selection criteria for running a report? Thanks Bob -
Joan Wild #2
Re: use form to enter report criteria
Assuming your report is based on a query that references this form, modify
the WHERE clause
WHERE Badge = Forms!YourForm!cboBadge or Forms!YourForm!cboBadge Is Null
--
Joan Wild
Microsoft Access MVP
"Mary" <mscardina@aol.com> wrote in message
news:0d2601c356a7$56e5be10$a401280a@phx.gbl...> I'm using a form to enter report criteria with a combo box
> for badge and date. Is there a way to leave the badge
> blank if I don't want to reduce the number of records by
> the badge criteria for that particular view of the
> report? Thanks.
>
> Mary
Joan Wild Guest
-
Bish #3
use form to enter report criteria
there aqre several ways to control which records appear in
a report so i'll assume that your report is bound to a
table or query.
The follwoing example is a line of code that is executed
by a button on a form. The form also has a combobox call
cbo_strFName
DoCmd.OpenReport "rpt_Test", acPreview, , "strFName
Like '*" & cbo_strFName & "*'"
This code opens the report "rpt_Test" in preview mode
which only displays the records that meet the content of
the combobox. If the combobox is left blank then all
records will show. This is because I use the * wildcard
before and after ther combobox value.
Hope it helps... Bishbox>-----Original Message-----
>I'm using a form to enter report criteria with a combo>for badge and date. Is there a way to leave the badge
>blank if I don't want to reduce the number of records by
>the badge criteria for that particular view of the
>report? Thanks.
>
>Mary
>.
>Bish Guest



Reply With Quote

