-----Original Message-----
When I do that it returns the value of the combobox
field.
Here's more info:
Table has the Client ID field, which is a combobox with
Row Source of SELECT [tblClients].[Client_ID],
[tblClients].[Client_Name] FROM tblClients. Used the
combobox wizard and that's where this Row Source was
created.
Query has Lab Code (primary key) as 1st column and Client
ID as 2nd field although the datasheet view shows
Client_Name.
Form has Lab Code as combobox (titled Lab Code)with above
query named as row source. Client Name text box has
control source of =[Lab Code].Column(1).
Thanks again in advance for any insight you may be able to
give me!
-----Original Message-----
Try changing the auto population of the text field to
=[name of combobox].column(0).
Hope That Helps
Gerald Stanley MCSD
-----Original Message-----
The RowSource Query is selecting clientName and clientID
and I think this was created when I used the lookupwizard
for the client ID field in my table that the query is
based on.
The Bound Column is set to 2.
The auto population of the text field is =[name of
combobox].column(1).
Any additional help is greatly appreciated!
Thanks!
-----Original Message-----
A likely scenario is as follows
1. The RowSource query is selecting clientName and
clientId
2. The BoundColumn is set to 2.
3. The automatic population of the text field is something
like {textbox} = {combobox}
If this is correct, then waht you need to do is to change
the automatic population to something like {textbox}.Value
= {combobox}.Column(1)
If this is not correct, can you provide details of the
above.
Hope That Helps
Gerald Stanley MCSD
-----Original Message-----
I have a combobox field in a form that's based on a
field
in a query, which obviously is pulled from a table. I
then
have associated (textbox) fields in the form
automatically
fill in based on the choice made in the combobox field.
My
problem is that the query returns a client name (for
instance), but the textbox field in the form is
returning
the client ID. Same case with Analyst ID being returned
as opposed to Analyst's Initials in the form. Thanks in
advance for your help!
.
.
.
.
.