JoeyJoystick
Registered User.
- Local time
- Today, 11:49
- Joined
- Jul 23, 2015
- Messages
- 15
Hi All,
I have a checkbox in a form. The purpose of this field is to indicate if the billing address is the same as the shipping address.
The forms purpose is to enter new accounts. The first tab has all general info including shipping address. The second tab includes, among other things, the billing address. I have made a checkbox here which indicates that the billing and shipping address are the same. It would be nice that when this is selected that it automatically copies the value previously entered into the corresponding field of the billing address.
I have the following code for this.
Private Sub chkShippingIsBilling_AfterUpdate()
If Me.chkShippingIsBilling.Value = True Then
fldBillingAddress_StreetLine01 = fldShippingAddress_StreetLine01
End If
End Sub
And, it obviously doesn't work and I have no idea why.
Can somebody please help me or guide me in the right direction?
Thanks you very much,
Joost (Joey)
I have a checkbox in a form. The purpose of this field is to indicate if the billing address is the same as the shipping address.
The forms purpose is to enter new accounts. The first tab has all general info including shipping address. The second tab includes, among other things, the billing address. I have made a checkbox here which indicates that the billing and shipping address are the same. It would be nice that when this is selected that it automatically copies the value previously entered into the corresponding field of the billing address.
I have the following code for this.
Private Sub chkShippingIsBilling_AfterUpdate()
If Me.chkShippingIsBilling.Value = True Then
fldBillingAddress_StreetLine01 = fldShippingAddress_StreetLine01
End If
End Sub
And, it obviously doesn't work and I have no idea why.
Can somebody please help me or guide me in the right direction?
Thanks you very much,
Joost (Joey)