[mso] Re: Advanced Filtering - Access 2007
- From: "Tillotson, Robert N (US SSA)" <robert.tillotson@xxxxxxxxxxxxxx>
- To: <mso@xxxxxxxxxxxxx>
- Date: Thu, 1 May 2008 15:07:24 -0400
If you put all the criteria on one line in the designer they are all
ANDed together and you may not have records that meet all the criteria
at the same time. You can pput the column criteria each on its own
separate line and tehn they are Ored so any record that meets any
criteria it will come through. To get rid of totally blank lines you
only need the criteria in one column. Of course, if that column is
blank for a record that has data in other columns then it won't show up
with the one criteria method. If you can find a column that always has
data unless the entire record is blank, then just put the criteria in
just that column in the query designer.
Robert Tillotson
BAE-IT
Groton Field Office
860-441-2207
-----Original Message-----
From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
Behalf Of Michele Wong
Sent: Thursday, May 01, 2008 2:28 PM
To: mso@xxxxxxxxxxxxx
Subject: [mso] Re: Advanced Filtering - Access 2007
This explanation has been very helpful, but when I get into the design
window and put this expression into the criteria line:
Is Not Null And <>""
on more than one column that I want printed, I get one blank line in my
report. When I put the expression only in the first column, I get the
correct info. What am I missing?
Thanks.
On Thu, May 1, 2008 at 10:35 AM, Tillotson, Robert N (US SSA) <
robert.tillotson@xxxxxxxxxxxxxx> wrote:
> Michele,
>
> If you generated your report directly from the table you should do
this
> to implement Dave's suggestion.
>
> Click on your report and then click on design in the database window.
>
> When the report opens in the designer right click on the little black
> square in the upper left of the =3D20
> Reportdesigner screen and choose properties from the menu that drops
> down.
>
> In the property window make sure you are in the data tab and then
click
> on the button with the 3 dots [...] to the far right of the data
source
> line.
>
> In the query builder window that opens find the field that will be
> sometimes blank and put this in the criteria line:
> (not null) and (<> "")
>
> Close all the windows saving when asked and try to run the report
again.
>
>
> If you generated your report from a query then modify the criteria
line
> of the query as above.
>
> Robert Tillotson
> BAE-IT
> Groton Field Office
> 860-441-2207
>
> -----Original Message-----
> From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On
> Behalf Of Michele Wong
> Sent: Thursday, May 01, 2008 1:16 PM
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Re: Advanced Filtering - Access 2007
>
> I'm sorry, but I am a novice Access user and I don't understand how to
> use
> the Where Clause. Can you help further? I have generated a report to
> extract
> a subset of the data, but then I want to print the non-blank rows of
the
> extracted data set (trying not to waste paper).
> Thanks.
>
>
> On Wed, Apr 30, 2008 at 5:35 PM, David Smart
<smartware@xxxxxxxxxxxxxxx>
> wrote:
>
> > A completely empty "cell" in Access is null, so your where clause is
> > 'myField is not null'. If you find that this is still finding empty
> > items,
> > then they probably contain empty strings, so 'myField is not null
and
> > myField <> ""'.
> >
> > Regards, Dave S
> >
> > ----- Original Message -----
> > From: "Michele Wong" <balboagrad@xxxxxxxxx>
> > To: <mso@xxxxxxxxxxxxx>
> > Sent: Thursday, May 01, 2008 8:35 AM
> > Subject: [mso] Advanced Filtering - Access 2007
> >
> >
> > >I have imported an excel table into access with about 95 rows and
40
> > >columns
> > > of data. I need to be able to filter out data and print into a
> report.
> > For
> > > example, If the cell contains something (non-blank) I need to be
> able to
> > > filter so that the non-blank rows print in the report. I have been
> > reading
> > > the help, but am doing somethign wrong. Can anyone guide me on
this?
> > > --
>
> -
> Thanks,
> Michele Wong
> Reliable Cyber Solutions, LLC
> http://www.reliablecyber.com
>
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx
or MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, visit the group's homepage and use the
dropdown menu at the top. This will allow you to unsubscribe your email
address or change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to share files with the group, you must join our Yahoo sister
group. This group will not allow for posting of emails, but will allow
you to join and share problem files, templates, etc.:
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for
FILE SHARING ONLY.
If you are using Outlook and you see a lot of unnecessary code in your
email messages, read these instructions that explain why and how to fix
it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
MicrosoftOffice@xxxxxxxxxxxxxxxx
To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
To Unsubscribe from this group, visit the group's homepage and use the dropdown
menu at the top. This will allow you to unsubscribe your email address or
change your email settings to digest or vacation (no mail).
http://www.freelists.org/webpage/mso
To be able to share files with the group, you must join our Yahoo sister group.
This group will not allow for posting of emails, but will allow you to join
and share problem files, templates, etc.:
http://tech.groups.yahoo.com/group/MicrosoftOffice . This group is for FILE
SHARING ONLY.
If you are using Outlook and you see a lot of unnecessary code in your email
messages, read these instructions that explain why and how to fix it:
http://personal-computer-tutor.com/abc3/v28/greg28.htm
*************************************************************
- Follow-Ups:
- [mso] Re: Advanced Filtering - Access 2007
- From: Michele Wong
- References:
- [mso] Re: Advanced Filtering - Access 2007
- From: Michele Wong
- [mso] Re: Advanced Filtering - Access 2007
- From: Tillotson, Robert N (US SSA)
- [mso] Re: Advanced Filtering - Access 2007
- From: Michele Wong
Other related posts:
- » [mso] Advanced Filtering - Access 2007
- » [mso] Re: Advanced Filtering - Access 2007
- » [mso] Re: Advanced Filtering - Access 2007
- » [mso] Re: Advanced Filtering - Access 2007
- » [mso] Re: Advanced Filtering - Access 2007
- » [mso] Re: Advanced Filtering - Access 2007
- » [mso] Re: Advanced Filtering - Access 2007
- [mso] Re: Advanced Filtering - Access 2007
- From: Michele Wong
- [mso] Re: Advanced Filtering - Access 2007
- From: Michele Wong
- [mso] Re: Advanced Filtering - Access 2007
- From: Tillotson, Robert N (US SSA)
- [mso] Re: Advanced Filtering - Access 2007
- From: Michele Wong