Hey,

Session variables store objects, they are not strongly typed. To an extent, there will be some conversions done for you, i.e. when you did this:

Code:
Me.Session("myweb_labDiagCodes") = 1
It was able to extract that value as an integer, and pass that as the parameter.

However, when you try this:

Code:
 Me.Session("myweb_labDiagCodes") = {1,2,3,4}
You are storing an array of integers in the session variable, and as a result, it can't then extract that and pass it as individual parameters.

Why do you need more than one parameter though? Your SQL statement only has one?!?

Gary