How do i create a drop down list that displays a list of text options... but then translates into integer values when saved to the database? do i have to write code to do this or can i do this somehow in the properties of the combo box ?
i'm a newbie to access forms. please and thanks.
i created a combo box with 2 columns using the wizard - col1 is the text that will be displayed and col2 is the int value to be written to the table. and then when prompted, i specified the second column as the identifying field for the control. is this correct / the best way to do this?
I rule is
data I want it the first col a and everthing else is display
Look at the Properties of the combo box
play witht coloum count
the count must include the hidden cols
and the coloum width
the above will make the 1st and 3rd hidden
aaa = me.combobox.coloum(3) will read the 3rd coloum of the selected row
even tho its hidden
put the code after the event afterupdate
hope this help
See clear as mud
the aim is store once, not store multiple times
Remember... Optimize 'til you die!
Progaming environment: Access based on my own environment: DAO3.6/A97/A2000/A2003/A2007/A2010 VB based on my own environment: vb6 sp5 ASP based on my own environment: 5.6 VB-NET based on my own environment started 2007 SQL-2005 based on my own environment started 2008 MYLE YOUR PASSWORD IS JUST LIKE YOUR TOOTHBRUSH DON'T SHARE IT.