-
How to clear a repeating section using rules:Create a new rule wherever it needs to be when you want to clear the repeating section, and add any conditions that you want.Set the rule to set the field value of one of the child fields (any one of them) of the repeating group to a blank value.
Save your form as its source files and close ...
-
Like I already said, unless for every AssignID value in the table, there is a row with an EmpID that has that value, that code is going to cause an "Object reference not set to an instance of an object." error.
I can't really tell what that code is trying to accomplish. Could you explain a bit what you are trying to do?
-
Are you asking how to edit an attached file while it is attached to an InfoPath form? I don't think this is possible. You'll need to save it to your hard drive, edit the file, and then re-attach it.
-
This part of your XPath: ...@AssignID[@EmpID = '" + value + "']/@FullNameLastreads as "retrieve the FullNameLast attribute belonging to the AssignID attribute that has an EmpID attribute with the value value," but it's not possible for attributes to possess other attributes, so that is part of your ...
-
Make sure that your text box is set to be "Multi-line" in its properties too.
-
This tutorial should have everything you need to get started working with the XPathNavigator in InfoPath 2007. If you're fairly new to coding, you'll first have to learn how to use it to get your string values out of the data source and into variables in your code.http://msdn.microsoft.com/en-us/library/bb509311.aspx
Once you've ...
-
I can't think of any way to do this without using code/script. Against which data source is the expression going to be evaluated? Could you give us an example of what the expression might look like?
-
You shoud be able to open the form in design mode on other computers. Just right-click the file in Internet Explorer and select Design. Are you saying you're unable to do that?
-
Could you attach that screenshot of your data source that I requested? That would make it easiest to know what the exact node prefixes and relative locations are.
-
Did you attempt the solution I offered you?