Auto Fill Check Box (1 Viewer)

Derrick T. Davidson

Registered User.
Local time
Tomorrow, 02:33
Joined
Jan 31, 2016
Messages
15
Hi All,
I have a form [frmCountryFlight] which has 8 check boxes what I want to do is:

If [cbDaily] is checked then all the other check boxes [cbMon], [cbTue], etc. automatically check to yes. Otherwise selected days are checked.

Is this possible?
 

sneuberg

AWF VIP
Local time
Today, 11:33
Joined
Oct 17, 2014
Messages
3,506
In the cdDaily click event you could put

Code:
if Me.cdDaily then
    Me.cdMom = True
    Me.cbTue = True
    etc
end if
 

arnelgp

..forever waiting... waiting for jellybean!
Local time
Tomorrow, 02:33
Joined
May 7, 2009
Messages
19,246
private sub cbDaily_Click()
dim i as byte
for i = 1 to 7
Me.Controls("cb" & Left(WeekDayName(i), 3)).Value = Me.cbDaily.Value
next
end sub
 

Users who are viewing this thread

Top Bottom