Hi All,
I'm trying to develop a control button on my form 'frm_initialPro perty' that will copy a contact address (5 fields) from my tbl_customer table to my tbl_properties table.
The form shows a contact address for a customer that was input on a previous form. I would like a button to copy this data into the property address fields on the same the form. I have used the following code: (however I get an error 'You can't assign a value to this object')
Me.Dyn* being the contact address fields, Me.P* being the property address fields.
Any Ideas?
Many Thanks
I'm trying to develop a control button on my form 'frm_initialPro perty' that will copy a contact address (5 fields) from my tbl_customer table to my tbl_properties table.
The form shows a contact address for a customer that was input on a previous form. I would like a button to copy this data into the property address fields on the same the form. I have used the following code: (however I get an error 'You can't assign a value to this object')
Code:
Me.Dyn_Addln1.Value = Me.PAddresLn1.Value
Me.Dyn_Addln2.Value = Me.PAddresLn2.Value
Me.Dyn_Addln3.Value = Me.PAddresLn3.Value
Me.Dyn_Addln4.Value = Me.PAddresLn4.Value
Me.Dyn_Postcode.Value = Me.PostCode.Value
Any Ideas?
Many Thanks
Comment