I have made a check mark box on a form to populate text boxes. (a convience for data entery people, for same data, check mark) This form is viewed as a continuous form, and when we check mark the box, in the next form, the box is allready check marked, I want to prevent/stop that. Help!
The code:
Private Sub Check56_Click()
If Check56.Value = -1 Then
Me![Generator Name] = Me![Origin Facility]
Me![Generator Address] = Me![Origin Facility Address]
Me![Generator City] = Me![Origin Facility City]
Me![Generator State] = Me![Origin Facility State]
Me![Generator Zip] = Me![Origin Facility Zip]
Else
' don't copy data.
Me![Generator Name] = Me![Generator Name]
Me![Generator Address] = Me![Generator Address]
Me![Generator City] = Me![Generator City]
Me![Generator State] = Me![Generator State]
Me![Generator Zip] = Me![Generator Zip]
End If
End Sub
Thank you.