G
Guest
For keeping track of clients from about fifteen or sixteen countries I
created a separate table for Countries partly to speed up data entry, partly
to standardise different possible forms of certain country names. My data
entry form then has a cboCountries combo box from which to select. Problem is
that because the combo is really based on the (hidden) CountryID column
rather than the visible CountryName column, you can't use the combo box to
add new data (a new country not already in the underlying table). There must
be an obvious way around this, but I can't figure out what it is. We don't
add a new country all that often, so I don't really want one of those
standard lists where scrolling through dozens of countries is slower than
just typing the name in.
And this is in fact a more general question about combo boxes and data entry
that I'd like to sort out. How, if at all, can you use a combo box for data
entry as well as data selection? Or is that just not what they are for?
created a separate table for Countries partly to speed up data entry, partly
to standardise different possible forms of certain country names. My data
entry form then has a cboCountries combo box from which to select. Problem is
that because the combo is really based on the (hidden) CountryID column
rather than the visible CountryName column, you can't use the combo box to
add new data (a new country not already in the underlying table). There must
be an obvious way around this, but I can't figure out what it is. We don't
add a new country all that often, so I don't really want one of those
standard lists where scrolling through dozens of countries is slower than
just typing the name in.
And this is in fact a more general question about combo boxes and data entry
that I'd like to sort out. How, if at all, can you use a combo box for data
entry as well as data selection? Or is that just not what they are for?