I already have a macro running in the On Load event. Can I just add this to
the macro? If so how? And I'm a little unclear which form you are calling
"first form". Is that the one that has the data field or the one that has the
checkbox? They was users get to this data field is they click a command
button that brings them to another form. They then enter the data into a
field. When they go back to the original form I want the check box to show a
check mark stating there is data in the specific field on another form.
Ofer said:
If the first form is still open, where the data is open, then you can use
this code on the On Load event of form2
Me.CheckBoxName = not isnull(Forms![FirstFormName]![FieldName]
If the the first form is closed, then you can use the dlookup to check the
record
Me.CheckBoxName = not
isnull(dlookup("FieldName","TableName","WhereCondition"))
--
I hope that helped
Good luck
Secret Squirrel said:
I want to add a check box to a form that is used to tell a user when data has
been entered into a field on another form. The box with be checked when a
user enters data in a field on another form and unchecked when either there
is no data in this field or if the data is erased. Can this be done?