Put your data in the array in String
P.e
cString=""
For i=1 to alen(cArray)
cString=cString+cArray(i)+","
endfor
cString=Left(len(cString)-1) && supress the las ","
cWhere="Inlist("+companyName+","+cString+")"
Selec * from my table &cWhere
"Anyone who has never made a mistake has never tried anything new." A.E
"The important thing is not to stop questioning. Curiosity has its own reason for existing." A.E