-
Hello Tesoro,
You don't need code for this. You can simply place a rule on the button to set the field to the value field + 1 . If your button is configured as a Submit and your submit settings are to simply submit the form via e-mail, you can change the submit settings to the Execute Rules option and then add rules that perform ...
-
You seem to be using Convert.IsDbNull to check whether an XPath selection returns nothing, but SelectSingleNode returns Nothing, not DbNull, when no matching node is found. Perhaps you should try the following:If mainDS.SelectSingleNode( _
"/dfs:myFields/dfs:dataFields/d:lab_log/d:tested_parts/@part_num_tp", NamespaceManager) ...
-
Hello Matthias,
I'm not quite sure what you're describing. Could you show us a screenshot?
-
You haven't given us much information here, but the drpChantier_Changed event will fire any time the associated field's value changes. What is it that you are trying to avoid, exactly?
-
Hi Tom,
Yes, Hilary's assessment is correct. An InfoPath browser form's managed code runs on the server so if it can access any file system at all, it would be the server's file system. The same would apply for any other Interop code that might interact with Office applications. I'm afraid I don't know of any ...
-
Have you walked through the code in a debugger? On which line is the error occurring?
-
So I would imagine you could open up the Default Values dialog and remove some of the default lines. Is there something about that that's not working?
-
If it's multiple rows of values, the best option may be to show the value in a Calculated Value Box and use the expression:substring(Field, 1, 10)Where Field is the field in question.
-
So you want to have a field that requires the user to enter a value of the format AAA:BB where AAA is any whole number and BB is a number between 00 and 59 inclusive. Did I understand that right?
If so, you can place a validation rule on the field to check whether the field does not match the pattern:\d+:[0-5]\dThis will require making the ...
-
So it sounds like the round(100 * (substring-after(OperationalTime, ":")) / 60) part has an issue of some sort. Are you sure that the portion of the value after the : is just a number and nothing else? (No AM/PM, for instance)?