thanks for the info on problem solving code, couldnt quite get it to work but it is something i will look into when i get time.
the problem code is this line
"WHERE accountcode Like '*" & sText & "*' ORDER BY accountcode;"
the parameter value is asking me for accountcode and i know that this...