08-27-2009, 03:54 AM
I also tried to compare Query to another integer, which is not working either.
For instance:
If Query = 380 Then
I'm just trying to get the value that the sql statement returns to use elsewhere. Seems like everything I've tried I get a Type mismatch error. What is the datatype of Query that contains the output of the sql?
For instance:
If Query = 380 Then
I'm just trying to get the value that the sql statement returns to use elsewhere. Seems like everything I've tried I get a Type mismatch error. What is the datatype of Query that contains the output of the sql?