Verify Multiple Checkboxes - Microsoft Community


i'm having problems following line of code:

private sub form_load()
if me.ckl or me.ckp = false then
me.cmdnextsection.enabled = false
else
me.cmdnextsection.enabled = true
end if
end sub

specifically first line.  it doesn't seem work if 1 checkbox "checked".  upon opening button still enabled.  it seems work alright if both selected or both not selected.

thanks,

mike

hi,

try with:

if me.ckl = false or _

   me.ckp = false then

ciao mimmo



Office / Access / Other/unknown / Office 2010



Comments

Popular posts from this blog

Windows 10 does not have any of my previous Windows 7 email address. - Microsoft Community