-
So, if Technician Comments is blank, you want to add a new row?
public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
//get your repeating group. The XPath in quotes needs to ...
-
I think it is a good solution. However, with a little bit of trickery, we can apply a filter to a rule's target field. I've attached a sample, and check out this blog post on how it was done.
-
Hi -- this seems odd, doesn't it? Your checkbox controls -- do they set the value to true / false? Your database column, what data type is it? I'd set my checkbox controls to True / False and my SQL column to bit, myself.... Otherwise, I'd be on the lookout for issues regarding case, since 'yes' and 'Yes' are not ...
-
Check out this sample form and see if it helps you... it summarizes based on another field's value, which is what I think you are trying to do.
-
Hi -- here's C# for 2007:
public void FormEvents_Loading(object sender, LoadingEventArgs e)
{
//get your repeating group. The XPath in quotes needs to change according to your form's ...
-
Hi -- I modified the XPath syntax in your qRules command on the button on your form. Since your button is not located inside the repeating section, preceding-sibling is meaningless. Instead, I selected the 'next to last' meeting using an XPath filter of [last() -1] and the last meeting using [last()]. This always copies the info from the ...
-
You have been provided with an InfoPath 2003 object model code sample. Your form is set to use InfoPath 2007. Under Tools / Form Options / Programming you can change your programming language. Since this sample is C# for 2003, you can select that from the drop down for the language.
-
Can you attach your template in a reply so that I can see your data structure and what you are currently trying? Under the Options tab in your reply, you have the option of adding a template...
-
I believe you'll need to write some code for this -- I imagine that your web service takes the individual strings, like, for example, what we'd see in a single row of a table... and that you need to basically for each row in your table populate the parameters for the web service and submit. If you are using InfoPath 2007, do some searching ...
-
Hi, and welcome:
There is a difference between 'save' and 'submit'. If a user saves a form, they can navigate about to save it (including to SharePoint -- type the URL of your ShP site in the filename dialog after hitting save, and you'll see what I mean). Submitting a form can mean a number of different things, because of the ...