B
Bill Foley
I have a table that I am using as a lookup to populate a table with info
related to a specific ID field. When I look at the form, however, I would
like the other fields to be shown. Since I'm not actually wasting space
with those field information, the text boxes are set as unbound boxes. I
want to use an SQL statement to populate those boxes based on the ID field
on the form. Obviously, I am having problem. Here is an overview of the
problem I am having (using Access XP). By the way, I haven't done much in
the way of SQL before
The table being used as a lookup is - tblData
Field being used as the lookup is DataID
The fields that I also want populated on my form are Field1, Field2, Field3
My pitiful SQL statement applied as the Control Source to each unbound text
box that isn't working:
Select tblData.Field1 From tblData Where tblData.Field1 = Me!DataID
When a record is opened on the form that has this information, I am getting
the "name" error in the box.
TIA!
Bill
related to a specific ID field. When I look at the form, however, I would
like the other fields to be shown. Since I'm not actually wasting space
with those field information, the text boxes are set as unbound boxes. I
want to use an SQL statement to populate those boxes based on the ID field
on the form. Obviously, I am having problem. Here is an overview of the
problem I am having (using Access XP). By the way, I haven't done much in
the way of SQL before
The table being used as a lookup is - tblData
Field being used as the lookup is DataID
The fields that I also want populated on my form are Field1, Field2, Field3
My pitiful SQL statement applied as the Control Source to each unbound text
box that isn't working:
Select tblData.Field1 From tblData Where tblData.Field1 = Me!DataID
When a record is opened on the form that has this information, I am getting
the "name" error in the box.
TIA!
Bill