B
BobC
I keep getting confused on how to use a combo box and prevent the wrong
field from being changed ... i.e. I do not want the HA# to be edited in
the table.
I want to create a form to edit a table (tblHANames)
The table has only 2 fields (HA#, HAName)
I want to use a combo box with 2 columns to locate the record to be edited.
The table is in HA# sequence (key)
I do not want the user to be able to change the HA# field (containing
the numbers 1 to 150) ... only the names in the HAName fields.
The first question was whether or not it is best to use a query?
Next, how do I set up the combo box to be able to see both the HA# and
HAName and not be able to change the HA# in the table? ...(e.g. end up
with 2 or 3 # 15s in the table)?
field from being changed ... i.e. I do not want the HA# to be edited in
the table.
I want to create a form to edit a table (tblHANames)
The table has only 2 fields (HA#, HAName)
I want to use a combo box with 2 columns to locate the record to be edited.
The table is in HA# sequence (key)
I do not want the user to be able to change the HA# field (containing
the numbers 1 to 150) ... only the names in the HAName fields.
The first question was whether or not it is best to use a query?
Next, how do I set up the combo box to be able to see both the HA# and
HAName and not be able to change the HA# in the table? ...(e.g. end up
with 2 or 3 # 15s in the table)?