-
Hello,
Are you working with a form designed using Microsoft Office InfoPath 2003 without the service pack installed.
Please read the Link belowhttp://office.microsoft.com/en-au/assistance/HP011037201033.aspx
-
I have in my form a Data Connection to a Web Service (type Recive).
There are 2 parameters that the WS get (the methode),first one type string (called ''Name'') and seconed type Integer(calles ''ModeType''). In my form I have this code:
Set dataObj=XDocument.DataObjects(''AAA'')
Set dataDom=dataObj.DOM
dataDom.setProperty ...
-
I have in my form a control type ''Ink Picture''. I have a WACOM TABLET SYSTEM (pen and mouse) connected to my computer.
When I run the form I have no option to write with the pen (It's act like a mouse and not like pen)
What can be the problem?
-
quote:I then want the XDocument.onSaveRequest function to be called
I don't think you can 'call' this function because OnSaveRequest is an event.
Perhaps all you need to add to your button's procedure to save the form is:
XDocument.SaveAs(''C:\MyForm.xml'');
-
i tried out your suggestion Greg. But for some reason, the OnAfterChange is triggered before the signed state of the form is altered.
I put in a
thisXDocument.UI.Alert(thisXDocument.IsSigned.ToString());
statement at the end of the eventhandler for OnAfterChange and the value in the messagebox is not the final value.
e.g. when signing the form, ...
-
This forum link is talking about using a sharepoint service instead of a micrsoft mdb databse, which won't work the same way, I think. I did realize I could create an xml file from the database and then have the xml file populate the infopath form. Is there a way to go striaght from the database.
Thank you so much for the help.
-
Hi Greg, thanks for the reply. I am looking at using Schematron to enforce the business rules and embed it into the XSD using the ''annotation'' marker. I think that it may be wise to firm up the ''contract'' between the web service and client so that static XSD/Schematron patterns can be applied. A dynamic approach is very complex to ...
-
Hello
Here are some links which should help you.http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=2657
I hope you find them useful.
-
And to combat this might slayer of solutions, check out Greg's HowTo:http://infopathdev.com/howto/tutorials/default.aspx?i=3551199a23ac41f3a155b3a2ffc412c5
-
Also, it is generally a good idea to use async = false and validateOnParse = false when creating a custom XML object like this. This might save you some headache later. Try this:
SampleDOM = (IXMLDOMDocument2)thisXDocument.CreateDOM();
SampleDOM.async = false;
SampleDOM.validateOnParse = false;
SampleDOM.load(''sampledata.xml'');