Howdy Everyone,
Im just new to using access, so hope someone might be able to point me in the right direction.
Ive got 2 tables, ive used the form wizard to help set up a form for one of the tables, so I can input data, which works ok, but for one of the fields in the form I need to use values from another table,
the other table has information structured like this..
ID | NAME
1 | City1
2 | City2
3 | City3 etc etc
What Id like to be able to do is have a drop down list/combo box, so that it shows the Names of the Citys, but when the name is selected.... its ID number is put into that variable in the form....
so if someone clicks on City3, 3 would be its vaule,
Ive tried playing around with quieries and drop down lists etc, but it seems to want to show both the ID and Name in the drop down list, and I really only want it to show the name.
Any Ideas on what I should be doing? Oh, and im using Access 2003
Cheers Ezy
Im just new to using access, so hope someone might be able to point me in the right direction.
Ive got 2 tables, ive used the form wizard to help set up a form for one of the tables, so I can input data, which works ok, but for one of the fields in the form I need to use values from another table,
the other table has information structured like this..
ID | NAME
1 | City1
2 | City2
3 | City3 etc etc
What Id like to be able to do is have a drop down list/combo box, so that it shows the Names of the Citys, but when the name is selected.... its ID number is put into that variable in the form....
so if someone clicks on City3, 3 would be its vaule,
Ive tried playing around with quieries and drop down lists etc, but it seems to want to show both the ID and Name in the drop down list, and I really only want it to show the name.
Any Ideas on what I should be doing? Oh, and im using Access 2003
Cheers Ezy
Last edited: