Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 13th, 2005, 09:58 AM
Randy
Guest
 
Posts: n/a
Default Button Sequence?

I can set up a button to run an OpenForm with a query through a macro
and everything runs fine until I click on the button again to do
another query from the same button. It does not work the second time.
If I click on Remove Filter all the records show again. Then if I
click on the button again the first set of records will come up from
the first time I clicked the button.

What do I need to correct?

  #2  
Old November 13th, 2005, 09:58 AM
Mark
Guest
 
Posts: n/a
Default Re: Button Sequence?

you could add "docmd.showallrecords" before the code on your command button
so that it removes any filter before it applies a new one.


"Randy" <ranmcc@msn.com> wrote in message
news:1113596620.755216.14000@o13g2000cwo.googlegro ups.com...
I can set up a button to run an OpenForm with a query through a macro
and everything runs fine until I click on the button again to do
another query from the same button. It does not work the second time.
If I click on Remove Filter all the records show again. Then if I
click on the button again the first set of records will come up from
the first time I clicked the button.

What do I need to correct?


 

Bookmarks

Thread Tools

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles