-
Yes, you can do this, you must just write the code behind the button to do the insert. Then you will have full control over where the new row inserts, what data is contained in it, etc.
-
Glad you got your issue figured out.
Great tip. Thanks for sharing this with us!
-
The only one that allows you to have both is a Web Service connection.
-
There is not set pattern on this. Each has its benefits.
The one thing to keep in mind is that for attributes, if you choose a datatype other than string, it automatically becomes a required field. If you want to have a "date" attribute, but not required, you must use a string--but then you lose the automatic datatype validation that ...
-
Glad I was abe to help you get everything working!
-
You can do date math in InfoPath 2007. For InfoPath 2003 you need to write your own code to do date math.
-
Hi DigitalMan, and welcome to the forums.
It could be that the reference to your parent node is no longer valid after you do the removeAll()... Maybe you need to select the node again before doing your appendChild().
Also, verify that you are appending a valid node... maybe cloneNode() didn't work correctly.
-
Thanks for sharhing you solution with us. I'm glad you got it solved!
-
Sounds like you need to write some code which adds a new row to the repeating group, and populates the fields of that row with the correct data. Then you would show that row (it will likely either be a filter on ''position() = 1'' or ''position() = last()'') when the form is opened.
-
Do not put such code in the Startup method... place it in an OnLoad event handler.