type mismatch

Results 1 to 2 of 2

Thread: type mismatch

  1. #1
    Join Date
    Dec 1969

    Default type mismatch

    strNewRunning = Str(Val(Right(strNewRunning, 3)) + 1)<BR>strNewRunning = Format(strNewRunning, "F0##")<BR><BR>i have error at Str, Val and Format...typemismatch...<BR>so what the correct items that i can put to replace that things...<BR><BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: type mismatch

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/vtorifunctions.asp<BR><BR>None of those functions are supported in VBScript. Have a look through that pag and see if you can spot the ones you want. "Val" converts it to a number. "Str" converts it to a string. Here&#039;s a hint though: "Format" may be tough. <BR><BR>Craig.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts