SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2012
    Posts
    30
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Microsoft VBScript runtime (0x800A000D) Type mismatch: 'addchild.Text'

    does anyone know what this error mean?

    Microsoft VBScript runtime (0x800A000D)
    Type mismatch: 'addchild.Text'

  2. #2
    Just Blow It bronze trophy
    DaveMaxwell's Avatar
    Join Date
    Nov 1999
    Location
    Mechanicsburg, PA
    Posts
    7,267
    Mentioned
    116 Post(s)
    Tagged
    1 Thread(s)
    Type mismatch typically means you're trying to place non-numeric data into a numeric field. So something like:

    dim intNumber
    intNumber = 11
    intNumber = addFields.Text

    You could get around this by converting the value in addFields.Text to a numeric value using Cint, CDbl, Clng (depending on the value of the field)...

    dim intNumber
    intNumber = 11
    if isNumeric(addFields.Text) then
    intNumber = Cint(addFields.Text)
    end if
    Dave Maxwell - Manage Your Site Team Leader
    My favorite YouTube Video! | Star Wars, Dr Suess Style
    Learn how to be ready for The Forums' Move to Discourse


Bookmarks

Posting Permissions

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