default value for check box

  • Thread starter Thread starter laavista
  • Start date Start date
L

laavista

My apologies as I know this has been asked before, but I could not get this
to work...

I would like a "check box" to be already checked when user opens the form.

My check box is called "CheckPreview" and I have -1 as the default value.
When you open the form, it is not check marked.

Any ideas?

(Thanks for your help!)
 
I got it to work using the form's "on current" event. I used
checkpreview = -1

I would still like to know why using the default value for the check box did
not work, though.

Thanks.
 
Hi,

the default value is only used for new records. If the form opens on
already existing data, it displays the values stored in that record. If you
want the form to open with a new record, set the "Data entry" property of the
form on True. It will then display the default values for the fields.
 
THANK YOU for sharing this info!! It's frustrating when you think something
should be happening, and you can't get it to. I can usually find
work-arounds, but I really like to know why it didn't work.

Thanks again!
 
Back
Top