-
Answered question in other tread. But to close out, simply right click the image control and in the pop-up menu you will have the option to change the image control to a file attachment control. Make sure the field in the schema you are bound to is of base64Binary type. The file attachment control will not work with a string and I did a little ...
-
Easy...right click the control and I believe there is a convert to option. You can then change the control to be a file attachment control.
-
I think you may need for convert the DATE to a string type.
-
The eventObj.Site does NOT return the entire XML Document for the form. For instance, if you drop this code into your OnBeforeChange event, review what will be returned.
XDocument.UI.Alert(eventObj.Site.xml)
It would return something like:
<CHILD>
<ID>1.1</ID>
<..>..<..>
</CHILD>
The father will not be ...
-
Look into storing your attached file as a BLOB type.
-
Ok, so it sounds like you were able to overcome your issue of getting the new ID of your inserted record. Here is some psuedo code for a web service:
Public Function SubmitDataTyped(ByVal ds As DataSet) as dataset
'1 - update the date using SqlDataAdapter1.Update(ds)
'2 - get the new id
'3 - populate a new dataset with all the same data ...
-
One of the first things I read when learning InfoPath is that regardless of which view the user is looking at, all schema validations must be met in order to submit. This is because the form is bound to the rules of the entire schema.
One way I found to get around this was not put the most generic business rules into the schema definition but ...
-
You will not be able to do what you wrote:
First - I would verify the web service in the VS studio as working before I integrate it with InfoPath. That will save you some time. Try debugging and ensure of the data is or is not being returned. If the new ID is not in the data set, read my second comment. I am not 100% if that is your issue but ...
-
Ok. Using both my post, and the code you found, I would try something like:
Dim iSelectedIndex
Dim objSelectedNode
iSelectedIndex = GetSelectedPartsIndex()
objSelectedNode = XDocument.DOM.selectSingleNode(''//Item['' & CStr(iSelectedIndex) & '']'')
objSelectedNode.parentNode.removeChild(objSelectedNode)
In vbscript but you should be able to ...
-
I was reading the fact sheet a couple days ago http://www.microsoft.com/technet/prodtechnol/office/office2003/plan/inpthfaq.mspx) and Microsoft even states that InfoPath is NOT a reporting product. Any they have not really supported either. Frankly, I cannot get mad with them because their goal for this tool is not to compete with reporting ...