< html > < body > < xml id='result' javaDSOCompatible='true'> < mytable xmlns:dt='urn:schemas-microsoft-com:datatypes'> < row> < field1 dt:dt='string'>value1 < /field1> < field2 dt:dt='string'>field2value < /field2> < /row> < /mytable > < /xml>This xml data island is bound to a html < table> element. I can add, edit, delete rows in XML DSO recordset.
< table DATASRC='#result'> < tr>< td> < input datafld='field1' dataformatas='localized-text'>< /td> < input datafld='field2' dataformatas='localized-text'>< /td> < /tr>< /table>My form frmdoc has a hidden field Rowdata. Form submit button OnClick event contains the following code to send changed data back:
OnClick= ' document.frmdoc.RowData.value =result.recordset.GetString(); document.frmdoc.action='SaveDocument' ' ;SaveDocument is a custom com object whict retrives form variables using Request.Form() and updates Visual FoxPro dbf files.