PC Review


Reply
Thread Tools Rate Thread

Displays Allen’s Browne filtered records in another form

 
 
Kaliman
Guest
Posts: n/a
 
      11th May 2010
I have Allen’s Browne Search 2000 form in My Database in Access 2000. The
search controls are in Form Header and I would like that after clicking the
filter button, records must be displayed in another Form (in my case FData)
rather that in Detail. Could you suggest how to do it. I would really
appreciated it if you show me how to do it step by step since I am novice in
programming.



Thank you
 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      11th May 2010
Presumably we are talking about the code in from example:
http://allenbrowne.com/ser-62.html

The Click event procedure for the command button builds up a filter string,
and then applies it to this form with:
Me.Filter = strWhere
Me.FilterOn = True
If you have FData already open, you could apply it to that form instead by
substituting:
Forms!FData.Filter = strWhere
Forms!FData.FilterOn = True

If you don't have it open already, use:
DoCmd.OpenForm "FData", WhereCondition:=strWhere

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


"Kaliman" <(E-Mail Removed)> wrote in message
news:69DE3885-2C0F-468B-8C83-(E-Mail Removed)...
> I have Allen’s Browne Search 2000 form in My Database in Access 2000. The
> search controls are in Form Header and I would like that after clicking
> the
> filter button, records must be displayed in another Form (in my case
> FData)
> rather that in Detail. Could you suggest how to do it. I would really
> appreciated it if you show me how to do it step by step since I am novice
> in programming.
>
>
>
> Thank you


 
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
Duplicating records in a form and subform (Allen Browne) Eka1618 Microsoft Access VBA Modules 2 28th Aug 2008 04:37 PM
How to implement Allen’s mdb sample form filter on a datasheet sub Adnan Microsoft Access 4 24th Jan 2008 12:39 PM
Macro opens popup form but displays all records or no records RookieCard Microsoft Access Queries 0 20th Jul 2004 07:05 PM
Macro opens popup form but displays all records or no records RookieCard Microsoft Access Forms 0 20th Jul 2004 07:05 PM
Re: Form button displays filtered report Allen Browne Microsoft Access 1 7th Jul 2003 06:28 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:54 PM.