M
Marc Meltzer
I would like to have a textbox show the result of a query. The query
will only return one value, based on the following:
The table has two fields: Artist_Num and Artist_Name.
On my form, there is a combo box that shows all rows of Artist_Name.
When the user clicks on a particular Artist_Name, I want a textbox to
show the associated Artist_Num.
I've written the query as follows:
SELECT Artist_Num
FROM TBL_Artists
WHERE((Forms!FRM_Add_Album!Artist_Name=TBL_ARtists!Artist_Name));
The query seems to run fine, but I can't figure out how to get the
result into the textbox.
Any help is appreciated.
Marc
will only return one value, based on the following:
The table has two fields: Artist_Num and Artist_Name.
On my form, there is a combo box that shows all rows of Artist_Name.
When the user clicks on a particular Artist_Name, I want a textbox to
show the associated Artist_Num.
I've written the query as follows:
SELECT Artist_Num
FROM TBL_Artists
WHERE((Forms!FRM_Add_Album!Artist_Name=TBL_ARtists!Artist_Name));
The query seems to run fine, but I can't figure out how to get the
result into the textbox.
Any help is appreciated.
Marc