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  

Do not run subform criteria when form opens



 
 
Thread Tools Display Modes
  #1  
Old March 1st, 2010, 06:53 PM posted to microsoft.public.access.forms
MattW[_3_]
external usenet poster
 
Posts: 2
Default Do not run subform criteria when form opens

I have a subform query with criteria selection, for client name. In the main
form I have a button which then requeries, for the user to enter their
selection criteria, and list the results. How can I stop the subform query
selection criteria box from appearing when I open the main form?

Any help would be greatly appreciated.
  #2  
Old March 1st, 2010, 08:13 PM posted to microsoft.public.access.forms
bhicks11 via AccessMonster.com
external usenet poster
 
Posts: 529
Default Do not run subform criteria when form opens

If the query has criteria, when it loads it will look for that criteria and
if not found you will get that box. Instead of putting the criteria in the
query, apply it when you click the button.

Bonnie
http://www.dataplus-svc.com

MattW wrote:
I have a subform query with criteria selection, for client name. In the main
form I have a button which then requeries, for the user to enter their
selection criteria, and list the results. How can I stop the subform query
selection criteria box from appearing when I open the main form?

Any help would be greatly appreciated.


--
Message posted via http://www.accessmonster.com

  #3  
Old March 1st, 2010, 09:10 PM posted to microsoft.public.access.forms
MattW[_3_]
external usenet poster
 
Posts: 2
Default Do not run subform criteria when form opens

Thank you for the guidance. Can you pleae give me some pointers on applying
the criteria when the button is clicked? I need the user to be able to enter
the search criteria.

Many thanks

Matt

"bhicks11 via AccessMonster.com" wrote:

If the query has criteria, when it loads it will look for that criteria and
if not found you will get that box. Instead of putting the criteria in the
query, apply it when you click the button.

Bonnie
http://www.dataplus-svc.com

MattW wrote:
I have a subform query with criteria selection, for client name. In the main
form I have a button which then requeries, for the user to enter their
selection criteria, and list the results. How can I stop the subform query
selection criteria box from appearing when I open the main form?

Any help would be greatly appreciated.


--
Message posted via http://www.accessmonster.com

.

 




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 05:54 AM.


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