G
Guest
What are the rules when using .dirty?
I have a form that is bound to a table. Right now, if I make changes to the
table through the form, it is not always recognized as "dirty". Do I need to
move off the record, save the changes, move to a new row on the table... I
can't seem to figure out what the rules are to make my results consistant.
To test my logic.. I'm still using message boxes... I hit a button on the
form with a simple:
If Forms("frmCSInputs").Dirty = True Then
msgbox "Records have been changed.", vbOKOnly + vbInformation,
"Changed"
Exit Function
Else
msgbox "No record were changed.", vbOKOnly + vbInformation, "No
Records Changed"
Exit Function
End If
I have a form that is bound to a table. Right now, if I make changes to the
table through the form, it is not always recognized as "dirty". Do I need to
move off the record, save the changes, move to a new row on the table... I
can't seem to figure out what the rules are to make my results consistant.
To test my logic.. I'm still using message boxes... I hit a button on the
form with a simple:
If Forms("frmCSInputs").Dirty = True Then
msgbox "Records have been changed.", vbOKOnly + vbInformation,
"Changed"
Exit Function
Else
msgbox "No record were changed.", vbOKOnly + vbInformation, "No
Records Changed"
Exit Function
End If