Type mismatch: 'objFieldValue.Text'

Results 1 to 2 of 2

Thread: Type mismatch: 'objFieldValue.Text'

  1. #1
    Join Date
    Dec 1969

    Default Type mismatch: 'objFieldValue.Text'

    Set objFieldValue = objDom.createElement("STATS_REFERRER")<BR>objField Value.Text = STATS_REFERRER<BR>objField.appendChild objFieldValue<BR><BR>STATS_REFERRER = "http://www.mywebsite.com"<BR><BR>and same problem with a date !<BR><BR>Have a idea ?

  2. #2
    Join Date
    Dec 1969

    Default What if you do:

    Set objFieldValue - objDom.CreateElement("STATS_REFERRER")<BR>objField Value.Text = "Test"<BR>objField.AppendChild objFieldValue<BR><BR>But, actually, isn&#039;t it .Value instead of .Text? Heh - so much copy and paste has made me dumb. That and crossing between .NET and classic ASP.

Posting Permissions

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