vba - MS Access ComboBox with own values -


in ms access application have table , form customers contains numeric field status (1- means active, 2 - inactive, 3 - n/a)

on form need have combobox values active, inactive , na, , when user selects value, 1,2 or 3 value should save status field.

when try set [row source type] [value list] , [row source] ["active";1;"inactive";2;"na";3], [bound column] =2, combobox shows me needless column values 1,2,3

when set [bound column] = 1, tries store in table ["active", "inactive", "na"] instead of 1,2,3

who knows how it's possible implement, i'm doing wrong?

when use [value list] [row source type] have set columncount right value manually.

columncount = 2 

also hide id column

columnswidth=";0" 

Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -