John:
I am working on a db that someone else created, that person knows a lot more
than me on how access works.
we have an menu form with a block for the supervisor. It was created to
populate the table under supervisor column.
What is the datatype and size of the supervisor column? What
information do you want put into that column? If you're storing a
name, how do you want to handle the problems that will arise when
there are two people with the same name (Lt. Jim Jones, the one in
Division G, or Lt. Jim Jones, the guy at HQ)?
the block on the form was
created to be type, by many users, people was writing it in many different
formats, I changed to a combo box looking at the last name, first name, mi,
and rank. the query I did looks the information but when I click at the info
it only put the last name in the block, remember I still working in the form.
if I change the bound column number from 1 to 2 I get the first name, if I
change to 3 I get the MI, if I change to 4 I get the Rank.
That's how a Combo Box works. It takes a single field (the Bound
Column) from its Row Source - the table or query upon which it is
based - and stores it into a single field, its Control Source.
Normally, the combo box will store one field but display other
information.
Let me ask again:
What is the Recordsource for the Form? What is the Control Source of
this combo box? What are you trying to store into it? Does your table
of people's names have a unique Primary Key (if this is the military,
the person's Serial Number)?
Could you open the Form in design mode, view its Properties, and look
at the properties of the combo box?
I tried the code you send me earlier and it give the information in the
block but it only worked with small names. I can used this if I could make
the field or block bigger. if you would like to help me directly my email is
teofilo dot herrera at AMC dot AF dot Mil.
Private EMail support is for paying customers. I'm a freelance
consultant volunteering my time on the newsgroups for public benefit.
If you would like private support please contact me offline at jvinson
<at> wysardofinfo <dot> com.
John W. Vinson[MVP]