View Single Post
  #2  
Old October 27th, 2009, 02:34 PM posted to microsoft.public.access.tablesdbdesign
Tom van Stiphout[_2_]
external usenet poster
 
Posts: 1,653
Default simple address db question

On Mon, 26 Oct 2009 23:16:01 -0700, deb
wrote:

The way I typically solve this is by having the additional data sit in
hidden columns of the dropdown list. So rather than suburbID,
suburbName, I might have two addl columns Postcode, State. This
assumes that one suburb only has one postcode, which in the USA
certainly is not true but perhaps in your country it is.
Then I can simply have an expression in the ControlSource of my
Postcode control:
=mySuburbControl.Column(2)
and for State:
=mySuburbControl.Column(3)
(of course you replace myObjectNames with yours)

-Tom.
Microsoft Access MVP



i know in the back of my mind i know how to do this but...

when i select the suburb in the lookup field i need the table to
automatically update the postcode and state field from the lookup table -
like a vlookup function in excel

help