hi, I was wondering if anyone has had experience appending a field to an xml exported form or subform? the separately exported field is defined like so:
<font size='8pt' color='fuchsia'/>
!-- Document PDA
<font
size=‘8pt’ color=‘fuchsia’/>
<field type='text' kind='editable' name='FLD_PDA_Update'>
<code event='defaultvalue'>
<formula
“1”
</formula>
</code>
<code event='inputtranslation'>
<formula>@If (@IsDocBeingSaved; @DeleteField; FLD_PDA_Update)
</formula>
</code>
</field>
<run
<font color='fuchsia'/>
<font size='8pt' color='fuchsia'/>!-- Determine if doc
<run
<font size='8pt' color='fuchsia'/>ws updated thru the PDA or WAP device
<run
<font size='8pt' color='fuchsia'/>
i need to somehow get that field into the xml of an exported subform, and then reimport the whole thing back into a database.
any suggestions? is my question clear?
i looked a couple of the samples in designer help, and i can see i need to use the domParser.Document.DocumentElement.appendchild() method. i am just not sure how to get in the right place, underneather another node. in my situation, under a node.
please advise.
thanks,
theresa