I
IJD
HI,
Totally newbie question but I just can't get the syntax right.
I am trying to export a form as a mht file with the name based on a field in
the form.
Can anyone advise where I am going wrong in the following code?
Thanks
Iain
{
var saveField
=XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:Cases/@Client_Name");
var name = saveField.text;
XDocument.SaveAs("C:\"&name&".mht");
}
Totally newbie question but I just can't get the syntax right.
I am trying to export a form as a mht file with the name based on a field in
the form.
Can anyone advise where I am going wrong in the following code?
Thanks
Iain
{
var saveField
=XDocument.DOM.selectSingleNode("/dfs:myFields/dfs:dataFields/d:Cases/@Client_Name");
var name = saveField.text;
XDocument.SaveAs("C:\"&name&".mht");
}