Auto Fill Check Box

Derrick T. Davidson

Registered User.
Local time
Today, 09:17
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?
 
In the cdDaily click event you could put

Code:
if Me.cdDaily then
    Me.cdMom = True
    Me.cbTue = True
    etc
end if
 
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

Back
Top Bottom