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  

Details of how Filter By Form works



 
 
Thread Tools Display Modes
  #1  
Old May 4th, 2010, 05:44 PM posted to microsoft.public.access.forms
Danny[_11_]
external usenet poster
 
Posts: 3
Default Details of how Filter By Form works

I'm trying to use Filter By Form in some applications for several projects,
and the more I use this functionality, the more it baffles me. For instance:

- When a form is displayed as FilterByForm, clicking to close the form
doesn't close it - it changes it from FBF view to normal form view

- Command buttons are disabled on the form when viewed as FBF

- Non-search fields - for instance, a field in the form footer - are
disabled, so that a value can't be assigned to those fields while FBF is in
force

Is there a document out there that explains just how a form in FBF behaves,
and how to work with such a beast?

Thanks.

Danny

  #2  
Old May 5th, 2010, 02:42 PM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default Details of how Filter By Form works

FBF is a bit of a fudge. It is designed purely for entering criteria to
filter the form.

Once you enter the criteria, it switches back to the previous view (as you
found.) Since you are *only* entering criteria, no code runs at all (that
includes command buttons), and no other controls are available.

In addition to the problems you mentioned, FBF doesn't work at all in
runtime.

It's so limited, that you would be better off designing your own filtering
system that's more obvious, intuitive, and appropriate to the particular
form you are designing.

If you're not sure how to do that, download the example from this article:
Search form - Handle many optional criteria
at:
http://allenbrowne.com/ser-62.html

--
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.


"Danny" wrote in message
...
I'm trying to use Filter By Form in some applications for several
projects, and the more I use this functionality, the more it baffles me.
For instance:

- When a form is displayed as FilterByForm, clicking to close the form
doesn't close it - it changes it from FBF view to normal form view

- Command buttons are disabled on the form when viewed as FBF

- Non-search fields - for instance, a field in the form footer - are
disabled, so that a value can't be assigned to those fields while FBF is
in force

Is there a document out there that explains just how a form in FBF
behaves, and how to work with such a beast?

Thanks.

Danny


  #3  
Old May 11th, 2010, 02:46 AM posted to microsoft.public.access.forms
Danny
external usenet poster
 
Posts: 385
Default Details of how Filter By Form works

Hi Allen - thanks for the reply.

FBF IS a fudge, but a really convenient fudge, and worth the clunkiness most
of the time. The time it would take to build a search screen like this from
scratch - which would never really be anything but a one-off - is too much.

I did look at your example db with the search screen. Thanks for the link.

Cheers.

Danny

"Allen Browne" wrote:

FBF is a bit of a fudge. It is designed purely for entering criteria to
filter the form.

Once you enter the criteria, it switches back to the previous view (as you
found.) Since you are *only* entering criteria, no code runs at all (that
includes command buttons), and no other controls are available.

In addition to the problems you mentioned, FBF doesn't work at all in
runtime.

It's so limited, that you would be better off designing your own filtering
system that's more obvious, intuitive, and appropriate to the particular
form you are designing.

If you're not sure how to do that, download the example from this article:
Search form - Handle many optional criteria
at:
http://allenbrowne.com/ser-62.html

--
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.


"Danny" wrote in message
...
I'm trying to use Filter By Form in some applications for several
projects, and the more I use this functionality, the more it baffles me.
For instance:

- When a form is displayed as FilterByForm, clicking to close the form
doesn't close it - it changes it from FBF view to normal form view

- Command buttons are disabled on the form when viewed as FBF

- Non-search fields - for instance, a field in the form footer - are
disabled, so that a value can't be assigned to those fields while FBF is
in force

Is there a document out there that explains just how a form in FBF
behaves, and how to work with such a beast?

Thanks.

Danny


.

 




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


All times are GMT +1. The time now is 04:58 PM.


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