Help! My checkboxes get "unchecked"

  • Thread starter Thread starter Nancy Docken
  • Start date Start date
N

Nancy Docken

Hi,

It's one of those days.

I have checkboxes on a form. They have an "After Update"
event that once they are "True" (the default value of
each is "False"), today's date is placed in a text box.

This part is working fine, but if I leave the form and
return, there are no longer any visible checkmarks. The
labels and boxes are there, the dates are there, but no
checkmarks. This is unacceptable. Eventually, I want to
make the date fields invisible, but then I wouldn't be
able to tell if the checkbox had been checked.

Can you tell me what I'm doing wrong? As always, I
appreciate any help you can offer.
 
Nancy

Are the checkboxes "bound" to any fields in the underlying data?

Do you have an "default" property set for the checkboxes?

Do you have any code in the Form that triggers on events like OnLoad,
OnActivate, OnCurrent, OnUnLoad, OnDeActivate, ...?

These are what I'd look for first, were it my form...
 
I had a similar situation, with data being entered in a form and when the user would leave the form and go back to it, the last field they entered data in, would be blank. I solved my issue by adding a save record command to my various event procedures. It worked for me, something to do with the write operation not being fully finished on that particular field. Try adding this

DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70

I placed this at the end of any event I had custom code and in the form's close event
 
Back
Top