Macron for a yes/no box (1 Viewer)

SamJas79

New member
Local time
Today, 04:09
Joined
Dec 2, 2019
Messages
1
Hi
I want a message box if a yes/no box is left empty.
I have the box set to yes as a default, but I can´t get the macron to give me the message box when I change it to No.
I have tryied everything:banghead:
 

isladogs

CID Moderator
Staff member
Local time
Today, 12:09
Joined
Jan 14, 2017
Messages
13,385
Welcome to AWF

Suggest you use a VBA event procedure

Code:
Private Sub Checkboxname_Click()
If me.checkboxname=False Then MsgBox "Your Message here"
End Sub
Change it to match your checkbox name and message
 

Ranman256

Registered User.
Local time
Today, 07:09
Joined
Apr 9, 2015
Messages
3,571
Yes/no cannot be empty. Not checked= no.
 

isladogs

CID Moderator
Staff member
Local time
Today, 12:09
Joined
Jan 14, 2017
Messages
13,385
However an unbound checkbox can also be null if triple state set to yes.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Top Bottom