G
Guest
Looking for a hand if possible. New to access and sql. I want one
textbox(txt2) to query a table based off the value in another textbox(txt1).
I've tried to create an SQL query as the control source for txt2. Not sure
if my syntax is off or
if this is the best way to do this. When the form loads, #NAME is what
appears in txt2. Here's the synatx. tbl_equipmentlist is part of the form's
record source. An example or correction would be appreicated.
SELECT tbl_equipmentlist.Equipment_ID FROM tbl_equipmentlist WHERE
(((tbl_equipmentlist.Equipment_ID)=FORMS!frmProject!txt1));
Thanks
textbox(txt2) to query a table based off the value in another textbox(txt1).
I've tried to create an SQL query as the control source for txt2. Not sure
if my syntax is off or
if this is the best way to do this. When the form loads, #NAME is what
appears in txt2. Here's the synatx. tbl_equipmentlist is part of the form's
record source. An example or correction would be appreicated.
SELECT tbl_equipmentlist.Equipment_ID FROM tbl_equipmentlist WHERE
(((tbl_equipmentlist.Equipment_ID)=FORMS!frmProject!txt1));
Thanks