PC Review


Reply
Thread Tools Rate Thread

Advanced Filter/Sort Question

 
 
Jfs
Guest
Posts: n/a
 
      30th Dec 2003
I am using Advanced Filter/Sort on a large pass-through
query, all I want to know is the total number of records I
have based on my filter without having to click on the >|
(last record button)

I have found that if I add Sort: criteria (Ascending or
Descending) on one of the columns in my filter then when
the results are returned that datasheet view has Record: X
or XX (filtered)

Is there any way to have this total show without having to
do the above mentioned items.

Thanks
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      31st Dec 2003
If all you want is a count, you could use DCount().

Apply the string you are using for the Filter as the 3rd argument of
DCount().

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Jfs" <(E-Mail Removed)> wrote in message
news:041d01c3cf1e$5a994af0$(E-Mail Removed)...
> I am using Advanced Filter/Sort on a large pass-through
> query, all I want to know is the total number of records I
> have based on my filter without having to click on the >|
> (last record button)
>
> I have found that if I add Sort: criteria (Ascending or
> Descending) on one of the columns in my filter then when
> the results are returned that datasheet view has Record: X
> or XX (filtered)
>
> Is there any way to have this total show without having to
> do the above mentioned items.
>
> Thanks



 
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
Problem with advanced filter sort window Julia B Microsoft Access VBA Modules 0 30th Nov 2009 12:19 PM
How prevent Advanced Filter Sort from self-clearing on Form? MHenry Microsoft Access Forms 0 30th Jun 2006 11:54 PM
Advanced filter/sort in MS access =?Utf-8?B?RGViIFRlY2g=?= Microsoft Access VBA Modules 2 4th Jun 2006 05:11 PM
Advanced filter to sort on secondary column =?Utf-8?B?Umlja0I=?= Microsoft Access 1 22nd Apr 2006 03:29 AM
Advanced Filter/Sort within VBA code =?Utf-8?B?UGF1bCBELiBTaW1vbg==?= Microsoft Access VBA Modules 1 19th Apr 2004 10:24 PM


Features
 

Advertising
 

Newsgroups
 


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