PC Review


Reply
Thread Tools Rate Thread

Details of how Filter By Form works

 
 
Danny
Guest
Posts: n/a
 
      4th May 2010
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

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      5th May 2010
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" <(E-Mail Removed)> wrote in message
news:1271D258-40E3-4017-B6C0-(E-Mail Removed)...
> 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


 
Reply With Quote
 
Danny
Guest
Posts: n/a
 
      11th May 2010
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" <(E-Mail Removed)> wrote in message
> news:1271D258-40E3-4017-B6C0-(E-Mail Removed)...
> > 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

>
> .
>

 
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
filter on a form only works once . Microsoft Access 5 27th Aug 2008 04:07 AM
Why does unlinked sub form lose filter when main form filter is turned off?? jgeniti Microsoft Access Forms 4 29th Jan 2007 04:13 PM
Copy Shipping details on form to billing details subform Ultraviolet47 Microsoft Access 6 10th Jan 2007 08:56 PM
Form filter works in 2000-2002 but fails in 2003 Greg O Microsoft Access Forms 2 10th Mar 2005 12:16 AM
List view works but Details wont ??? =?Utf-8?B?dGlnZXI3OQ==?= Microsoft Dot NET Compact Framework 3 1st Apr 2004 01:21 AM


Features
 

Advertising
 

Newsgroups
 


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