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  

Not wanting to displaying certain forms



 
 
Thread Tools Display Modes
  #1  
Old May 25th, 2010, 09:42 PM posted to microsoft.public.access.forms
The Dog Breeders List
external usenet poster
 
Posts: 5
Default Not wanting to displaying certain forms

I have a form, where I have 2 check marked boxes "Can recall" and "Do not
call". What do I need to do to skip the forms that are marked "Do not call"?

Thanks,
Bob



  #2  
Old May 25th, 2010, 10:41 PM posted to microsoft.public.access.forms
Jeanette Cunningham
external usenet poster
 
Posts: 2,190
Default Not wanting to displaying certain forms

I have 2 different answers for you, depending on what I think you meant.
1. If you have a continuous form, you can lock the rows marked as do not
call.
Put code on the current event of the form like this:

If Me.DoNotCall = True Then
Me.ControlName.Enabled = False
Else
Me.ControlName.Enabled = True
End If


2. Perhaps you are asking about hiding the rows marked as do not call.
You can do this in the query used for the form's record source.
In the query, exclude the column for do not call, and under the column for
can recall, put True on the criteria line.


Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia


"The Dog Breeders List" wrote in message
...
I have a form, where I have 2 check marked boxes "Can recall" and "Do not
call". What do I need to do to skip the forms that are marked "Do not
call"?

Thanks,
Bob





  #3  
Old May 27th, 2010, 03:56 AM posted to microsoft.public.access.forms
trevorC via AccessMonster.com
external usenet poster
 
Posts: 37
Default Not wanting to displaying certain forms

Why not just filter on the field selected.

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/201005/1

 




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 01:28 PM.


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