Auto State and Postcode from Suburb

Chief

Registered User.
Local time
Today, 08:41
Joined
Feb 22, 2012
Messages
156
Hello,
(Access 2010)
I have a several forms with an address field, Suburb Field, State Field and Postcode Field.

I have the Suburb Field using a combo box to Look up a table which has the suburbs, States and Postcode Data.
I want the State and Postcode fields to autofill AND complete the data in the relevant table.

I have written the following code to the Suburb field On Click

Private Sub Suburb_Click()
State = Suburb.Column(2)
PCode = Suburb.Column(3)
End Sub

For some reason it is working on one form but not on any others.??
Any suggestions please?
Thank you
 
Thats full on! lol
Thank you
 

Users who are viewing this thread

Back
Top Bottom