Split form: auto ticking of checkbox

AWAISKAZMI

Registered User.
Local time
Tomorrow, 02:48
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
 
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
 
Will chkbox2 ever be ticked when chkbox1 is not ticked?

Linq ;0)>
 

Users who are viewing this thread

Back
Top Bottom