To update a control field one of the articels uses the following code:
strStartDate = XDocument.DOM.selectSingleNode _
("/my:myFields/my:startDate").text
I am trying to use the same syntax to populate a text field in my form:
XDocument.DOM.selectSingleNode("/my:myFields/my:dataFields/d:Table1/d:Table1Item3").text = "abc"
However, The following error occurred:
Object required: 'XDocument.DOM.selectSingleNode(...)'
File:script.vbs
Line:23
My form is connected to database with two tables - namely "Table1" as the Primary and the other one "Table2".
any help please.