Prev: A calculation in a form
Next: Common “Button Block”
From: The Dog Breeders List on 25 May 2010 16:42 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
From: Jeanette Cunningham on 25 May 2010 17:41 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" <rltutt(a)earthlink.net> wrote in message news:eaUjYrE$KHA.5916(a)TK2MSFTNGP04.phx.gbl... >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 > > >
From: trevorC via AccessMonster.com on 26 May 2010 22:56 Why not just filter on the field selected. -- Message posted via AccessMonster.com http://www.accessmonster.com/Uwe/Forums.aspx/access-forms/201005/1
|
Pages: 1 Prev: A calculation in a form Next: Common “Button Block” |