-
I do not believe you can bind a repeating table to multiple data sources. I know in other Microsoft development environments that would not be possible.
I have had a similar situation where I had two repeating groups in my schema, or two sharepoint lists in your case, and I wanted to display them visually as a single list. What I did was I ...
-
From an architecture and maintenance standpoint I would not put an insert statement into InfoPath. Since you have SQL Server, it would be best if you created a stored procedure in SQL Server. Then write a web service that will call the stored procedure. Then have your InfoPath form call the web service. The advantages are:
1 - You will ...
-
Read this recent chain -http://www.infopathdev.com/forums/topic.asp?TOPIC_ID=786
-
That ''e'' object reference would only work if the code was placed inside of an event handler. That may or may not be what you need. The author did not specify which event in the Repeating Table would be used.
If you have a button on your form that will open another form I think that the code I referenced above may be what you need. You could ...
-
You can do the following. It is in VBScript, in JScript you would call parseInt(...) instead of CInt(...)
Function GetCurrenntFooIndex
GetCurrenntFooIndex = CInt(XDocument.GetNamedNodeProperty(XDocument.DOM.selectSingleNode(''//my:Foo''), ''CTRL656'', -1))
End Function
You will need to extract all of your files from the XSN and go into the ...
-
Never tried to remove those. They seem pretty built into InfoPath. Maybe someone else been able to remove them.
-
Well can do another thing so you do NOT have to code an Insert button. Do this:
- Open the repeating tables property widow.
- Leave the Allow users to insert and delete rows checkbox checked
- Click on the Customize Commands... button
- In the Table Commands window, there is an Action dropdown. Simply select all of the remove options and clear ...
-
I think I understand what you are saying. But I do not want to add another element to my schema for binding to the expression box solely for printing a value. Think of an enumeration. I have an element named Status which is an int type (1,2,3,4). Sometimes the print value (Select..., Approve, Deny, Change). In other places I want to print (No ...
-
I have a two fold InfoPath question that is somewhat related based on some of my research.
1 – Has anyone had success with setting a value into an Expression Box from a script or .NET managed code function? Preferably script but it should not matter.
2 – Has anyone had success with dynamically loading the options into a combo box?
The ...
-
Patrick, thanks for the tips. I noticed that I would lose the conditional formating when I publish the form. Also, I am NOT using .NET code (and cannot use it based on various client reasons). But the version of InfoPath I am using is SP1, so it seems to be a SP1 issue as a whole.
Thanks for the prompt feedback.