Automatically filling fields on a form

G

Guest

I have a form where the user has to tick a number of boxes to indicate the
audience the data relates to [Location1], [Location2], [ALL]

If the user ticks [ALL] is there a way to automatically tick the [Location1]
and [Location2] boxes?
 
G

Guest

Private Sub All_AfterUpdate()
If Me.All = -1 Then
Me.Location1 = -1
Me.Location2 = -1
End If
End Sub
 
G

Guest

Thanks Wayne - That worked perfectly!

Wayne-I-M said:
Private Sub All_AfterUpdate()
If Me.All = -1 Then
Me.Location1 = -1
Me.Location2 = -1
End If
End Sub



--
Wayne
Manchester, England.



TomTomRBS said:
I have a form where the user has to tick a number of boxes to indicate the
audience the data relates to [Location1], [Location2], [ALL]

If the user ticks [ALL] is there a way to automatically tick the [Location1]
and [Location2] boxes?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top