Help! data in field differs from that in text box

  • Thread starter Thread starter Allan Murphy
  • Start date Start date
A

Allan Murphy

Michelle

If you are using a combo box, then in the properties set the column width to
0;x

0 hides the first column but stores that value in your table.
x is the maximum width that you want to display your Country

By doing the above you will be able to store the id and display only your
Country.
 
Hi, I'm using MS Access 2000 and have found that though I've created a text
box that includes the info I want in the field, this does not appear in the
field.
I'm using a link from a table that has 2 columns-i.d (the primary key)
and country\ethnic group. When I access the text box, country names appear
but the info that actually appears in the field is the i.d. which is
meaningless-I need country\ethnic group to also appear in the field. Can
someone please help?
 
It would have to be a combo box. In addition to Bound Column set to 2, you
would need to set the column count set to 2 and the column widths 0;1" (or
whatever width you choose). A text box does not have a bound column
property. Another option would be to place the country in another text box.
If you are going to be selecting the country from a list, a combo box is a
good way to go. If you are adding a new record and if the PK is
automatically generated there is probably no need to see the ID field at
all.
 
Doh! Too early - my bad...

BruceM said:
It would have to be a combo box. In addition to Bound Column set to 2,
you would need to set the column count set to 2 and the column widths 0;1"
(or whatever width you choose). A text box does not have a bound column
property. Another option would be to place the country in another text
box. If you are going to be selecting the country from a list, a combo box
is a good way to go. If you are adding a new record and if the PK is
automatically generated there is probably no need to see the ID field at
all.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top