S
sonta
I have a form ( frmInv )that has various fields and the data source for this
form comes from a table ( Tbl A) . Two fields that are present in this form
are Suburb (combo box) and Postcode (text box).
I have another table (Tbl B) which has the following 2 fields only:
Suburb
Postcode
They have pre existing data of existing suburbs and the corresponding
postcodes. Naturally this data stays as is ( no additions required by user).
It is from Tbl B that the suburb field (combo box) in the form gets its
source data list of suburbs from, which to choose from in the drop down box.
Question: I would like for a user to choose a suburb from the combo drop
down box in the form and upon pressing the ENTER button - to move on to the
next field which is the Postcode field. It is here that I would like the
database to automatically present the postcode number corresponding to the
chosen suburb in the suburb drop down box previously.
How do I do this ? macro or code expression ? if so can someone help me
out with the macro or code expresssion . thanks.
form comes from a table ( Tbl A) . Two fields that are present in this form
are Suburb (combo box) and Postcode (text box).
I have another table (Tbl B) which has the following 2 fields only:
Suburb
Postcode
They have pre existing data of existing suburbs and the corresponding
postcodes. Naturally this data stays as is ( no additions required by user).
It is from Tbl B that the suburb field (combo box) in the form gets its
source data list of suburbs from, which to choose from in the drop down box.
Question: I would like for a user to choose a suburb from the combo drop
down box in the form and upon pressing the ENTER button - to move on to the
next field which is the Postcode field. It is here that I would like the
database to automatically present the postcode number corresponding to the
chosen suburb in the suburb drop down box previously.
How do I do this ? macro or code expression ? if so can someone help me
out with the macro or code expresssion . thanks.