[thelist] VBScript InStr type mismatch
Chris at globet.com
Chris at globet.com
Wed Jul 13 11:29:10 CDT 2005
Joel
> Using InStr and getting a type mismatch from the first line
> of this bit:
>
> If (InStr(strKaiserPlanIDs,strPlanNumberString,1)) Then
> bitKaiserPlan = bitKaiserPlan + 1
> End If
The "start" argument is required if you use the "compare" argument.
Thus, the following should solve your issue:
If (InStr(1,strKaiserPlanIDs,strPlanNumberString,1)) Then
bitKaiserPlan = bitKaiserPlan + 1
End If
Regards
Chris Marsh
More information about the thelist
mailing list