A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Form filtering statements



 
 
Thread Tools Display Modes
  #1  
Old August 22nd, 2004, 07:21 PM
TheWa
external usenet poster
 
Posts: n/a
Default Form filtering statements

I have a continuous form that i would like to have users use the built-in
filter-by-selection or filter-by-form capabilities. Is there a way to capute
the filter statement that Access must be creating and utilizing?
  #2  
Old August 23rd, 2004, 12:28 PM
Brendan Reynolds
external usenet poster
 
Posts: n/a
Default

Yes, you can capture it in the Apply Filter event ...

Private Sub Form_ApplyFilter(Cancel As Integer, ApplyType As Integer)

Debug.Print Me.Filter

End Sub


--
Brendan Reynolds (MVP)
http://brenreyn.blogspot.com

The spammers and script-kiddies have succeeded in making it impossible for
me to use a real e-mail address in public newsgroups. E-mail replies to
this post will be deleted without being read. Any e-mail claiming to be
from brenreyn at indigo dot ie that is not digitally signed by me with a
GlobalSign digital certificate is a forgery and should be deleted without
being read. Follow-up questions should in general be posted to the
newsgroup, but if you have a good reason to send me e-mail, you'll find
a useable e-mail address at the URL above.


"TheWa" wrote in message
...
I have a continuous form that i would like to have users use the built-in
filter-by-selection or filter-by-form capabilities. Is there a way to

capute
the filter statement that Access must be creating and utilizing?



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
auto entry into second table after update Tony New Users 13 July 9th, 2004 10:42 PM
Modal form Praveen Manne Using Forms 1 July 6th, 2004 10:49 PM
Modal form Praveen Manne General Discussion 1 July 6th, 2004 10:49 PM
Passing value to modal child form in MS Access using VBA? Grahammer Using Forms 6 July 4th, 2004 11:53 PM
Form Doesn't Go To New Record Steve New Users 15 May 16th, 2004 04:33 PM


All times are GMT +1. The time now is 07:41 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.