AccessApprentice
Programmer
How do you write an IF statement for a checkbox?
I want to copy data from one control to another if the IsMinor checkbox is checked. I have the code working to do this once the command button is clicked but I want to put this same code in the AfterUpdate event of a checkbox named IsMinor.
Private Sub SameAddress_Click()
Me!BillingAddress = Me!Address
Me!BillingCity = Me!City
Me!BillingState = Me!State
Me!BillingZip = Me!Zip
End Sub
I want to copy data from one control to another if the IsMinor checkbox is checked. I have the code working to do this once the command button is clicked but I want to put this same code in the AfterUpdate event of a checkbox named IsMinor.
Private Sub SameAddress_Click()
Me!BillingAddress = Me!Address
Me!BillingCity = Me!City
Me!BillingState = Me!State
Me!BillingZip = Me!Zip
End Sub