Using Vbscript, i'm fetching a value from textbox from UI. How to save that value to an xml tag -


below code tried save saleblockenddt tag in xml file, i'm fetching ui textbox. when run i've "object variable not set" error.

need solution save tag value

    dim nspos     dim nsparms     dim szenddate     dim sresult     dim senddate      senddate   = trim(getfieldinput("ctxtenddate"))     set nspos = createobject("espace.esnamespace")     set nsparms = nspos.applyxml("pos\pos.xpa", 2)     szenddate = trim(nsparms.parameters.saleblockenddt.text)      if szenddate = ""         nsparms.parameters.saleblockenddt.text = senddate     end if     sresult = nspos.save("pos\pos.xpa",2) 


Comments

Popular posts from this blog

javascript - Create websocket without connecting -

how to do line continuation in perl debugger for entering raw multi-line text (EOT)? -

android - Linear layout children not scrolling -