Sorry if this is a repost... I didnt see it show up in the forum last time!!
Hi guys,
Im incredibly new to VB... I mean really new.
Heres my issue. I need to write some code into an AfterUpdate Event of a CheckBox that writes Billing Address information into the shipping address fields. Billing addresss are held under customer infomation, shipping address are held seperately in the Orders table. I need to copy to 5 fields (Unit, Street, City, St/Prov, Postal) and actually Write this information to those fields, if the checkbox is selected
Also if the check box is selected, I need those fields locked to prevent further updateing of the company billing address...
And if I change the billing address of the company I'd rather not have that update the Billing address in all previous orders... and I need a straight WRITE function.
Im thinking of using:
Me.ShippingAddress = Me.BillingAddress (for each field)
and
Me.ShippingAddress.Locked = True (or False to unlock)
in an If statement in the AfterUpdate section of the checkbox.
Will this work (I dont know how to code it specifically.. will take further research!!!)
Thanks!
Hi guys,
Im incredibly new to VB... I mean really new.
Heres my issue. I need to write some code into an AfterUpdate Event of a CheckBox that writes Billing Address information into the shipping address fields. Billing addresss are held under customer infomation, shipping address are held seperately in the Orders table. I need to copy to 5 fields (Unit, Street, City, St/Prov, Postal) and actually Write this information to those fields, if the checkbox is selected
Also if the check box is selected, I need those fields locked to prevent further updateing of the company billing address...
And if I change the billing address of the company I'd rather not have that update the Billing address in all previous orders... and I need a straight WRITE function.
Im thinking of using:
Me.ShippingAddress = Me.BillingAddress (for each field)
and
Me.ShippingAddress.Locked = True (or False to unlock)
in an If statement in the AfterUpdate section of the checkbox.
Will this work (I dont know how to code it specifically.. will take further research!!!)
Thanks!