Hi all,
I have created an array which holds unique product nos of records i have updated in my db.
i now want to select records from my db based on the data (product nos)in the array.
I have:
List42.RowSource = "Select * from tblProducts where Product No in '" & myarray & "'"
but it is giving me a data error.
what is the correct way to select from a table based on values in an array?
PLEASE HELP!
thanks,
Maggie
"Work is the curse of the drinking classes
I have created an array which holds unique product nos of records i have updated in my db.
i now want to select records from my db based on the data (product nos)in the array.
I have:
List42.RowSource = "Select * from tblProducts where Product No in '" & myarray & "'"
but it is giving me a data error.
what is the correct way to select from a table based on values in an array?
PLEASE HELP!
thanks,
Maggie
"Work is the curse of the drinking classes