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

does anyone know what this error mean?

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

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