I’m trying to build code that fills an address into an ‘Orders’ form from an ‘Address’ table. I keep getting the message “Microsoft Access can’t find the field [Address] referred to in your expression. This is the code I have below.
Private Sub CustomerID_AfterUpdate()
‘ Update ShipTo controls based on value selected in CustomerID combo box.
Me!ShipName = Me![CustomerID].Column(1)
Me!ShipAddress = Me!Address
Me!ShipCity = Me!City
Me!ShipState = Me!State
Me!ShipPostalCode = Me!PostalCode
Me!ShipCountry = Me!Country
End Sub