I'm trying to reproduce this example by Allen Browne, available on his
website (excellent resource, BTW) to work. Available at
http://members.iinet.net.au/~allenbrowne/ser-32.html
The piece of code that's giving me problems is:
***************
Private Sub Suburb_AfterUpdate()
Dim cbo As ComboBox
Set cbo = Me.Suburb
If Not IsNull(cbo.Value) Then
If cbo.Value = cbo.Column(0) Then
If Len(cbo.Column(1)) > 0 Then
Me.State = cbo.Column(1)**********
End If
If Len(cbo.Column(2)) > 0 Then
Me.Postcode = cbo.Column(2)**********
End If
Else
Me.Postcode = Null**********
End If
End If
Set cbo = Nothing
End Sub
***************
Specifically, Access doesn't like Me.State or Me.Postcode. I get:
Compile error:
Method or data member not found
I'm probably being thick, but I've been fiddling and Googling for a couple
of hours to no avail.
Thanks for any hints.
Regards,
Robin