Split form: auto ticking of checkbox (1 Viewer)

AWAISKAZMI

Registered User.
Local time
Today, 03:20
Joined
Oct 28, 2017
Messages
12
I have 02 checkboxes in a table
Say chkbx1 and chkbx2
On ticking of chkbx1 i want to automatically tick chkbx2.
Please guide me
 

isladogs

MVP / VIP
Local time
Today, 00:20
Joined
Jan 14, 2017
Messages
18,212
Tables don't contain checkboxes
I assume you mean two Boolean or yes/no fields.

You can either use an update query or do this in code
For example place the checkboxes on a form then add code to the first checkbox click event

Code:
 if me.chkbox1=true then me.chkbox2=true

However you need to decide what happens to chkbox2 if chkbox1 is unticked again

EDIT spellchecker messed that up badly... now fixed hopefully
 

missinglinq

AWF VIP
Local time
Yesterday, 19:20
Joined
Jun 20, 2003
Messages
6,423
Will chkbox2 ever be ticked when chkbox1 is not ticked?

Linq ;0)>
 

Users who are viewing this thread

Top Bottom