PC Review


Reply
Thread Tools Rate Thread

can i use a macro with a comand button to aply a filter to a list

 
 
Mike read
Guest
Posts: n/a
 
      4th Dec 2009
i have a data base that i am filtering with several different applyfilter
macos in comand buttons. they all work well to limit the records but it has
no effect on the list box i have to select records using an alpha list.


is their a way to change and or add a macro to those comand buttons so it
takes affect on the list box aswell


 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      4th Dec 2009
Mike,

If I understand you correctly, you would I think need to use a SetValue or
SetProperty action in your macro, to change the RowSource property of the
Listbox.
You may also need a Requery action applied to the listbox, following the
SetValue.

--
Steve Schapel, Microsoft Access MVP


"Mike read" <Mike (E-Mail Removed)> wrote in message
news:16513896-FCA0-463A-A629-(E-Mail Removed)...
> i have a data base that i am filtering with several different applyfilter
> macos in comand buttons. they all work well to limit the records but it
> has
> no effect on the list box i have to select records using an alpha list.
>
>
> is their a way to change and or add a macro to those comand buttons so it
> takes affect on the list box aswell
>
>

 
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
Comand Button Cathy Microsoft Access Form Coding 2 20th Oct 2009 05:46 PM
Comand button with macro on MS Access Web Page? Emily T Microsoft Access Macros 3 7th Oct 2008 03:19 AM
comand button Tom Wickerath Microsoft Access 0 17th Aug 2004 08:59 PM
Filter macro using criteria in a list (not autofilter drop down list) Jeff Smith Microsoft Excel Worksheet Functions 0 29th Jul 2004 10:06 PM
comand button jamie85 Microsoft Excel Misc 5 3rd Feb 2004 01:28 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:43 PM.