K
Kahuna
Hi Folks
Been struggling with this for too long - got an SQL string in VBA and I cant
for the life of me figure out the correct way to phrase it:
strSQL_Lookup = "SELECT [txtReal_Field_Name] FROM Name_List"
txtReal_Field_Name is a variable holding the name of a field, and my
intention is to look-up all of the items from that field in the table
Name_List (and hopefully put a Distinct in there too).
How do I correctly form this Select incorporating the variable?
TIA
Been struggling with this for too long - got an SQL string in VBA and I cant
for the life of me figure out the correct way to phrase it:
strSQL_Lookup = "SELECT [txtReal_Field_Name] FROM Name_List"
txtReal_Field_Name is a variable holding the name of a field, and my
intention is to look-up all of the items from that field in the table
Name_List (and hopefully put a Distinct in there too).
How do I correctly form this Select incorporating the variable?
TIA