Hi Chris,
Just to make sure that we are on the same page, create a new blank form.
Drop one textbox on the form. Your schema should be: myFields/field1.
Drop one button, and go to the MSE (right-click on the button / Button
Properties / Edit Form Code) and put the following line of code in the
OnClick event:
XDocument.DOM.selectSingleNode("/my:myFields/my:field1").text = "test";
run and click the button. Does it work?
Note: you don't have to write any setProperty (it is done by IP
automatically).
Regards,
Franck Dauché
> Also, if I don't declare the namespace, then I get an undeclared namespace
> error: "Reference to undeclared namespace prefix: 'my'".
[quoted text clipped - 46 lines]
> > >
> > > Chris
Mullie21 - 15 Nov 2005 03:53 GMT
Frank,
I actually just got it. Instead of using a stored value to determine
whether or not a user had saved the form, I'm going to use the IsNew
function. I've got it working perfectly.
Thanks for your help. This really is a great discussion board.
Chris
> Hi Chris,
>
[quoted text clipped - 64 lines]
> > > >
> > > > Chris