You searched for the word(s): 2
-
Yep. What are the data types you are using ? Try a text box in one column, and a drop-down list box in another column. Enter something in the text box, and do not touch the drop-down. I'm guessing it will not satisfy the conditions you have established...
-
Ok that's what I figured. I tried the AppendChild() method and it worked, but the performance was worse :( It was worth a try though. Adding 5 rows took 2.5 times longer than the cloning method.
-
Interesting. I don't understand why it is working on my sample form and not on yours.
Do you have the data validation set on each field?
-
aiminさん、解決したようで、良かったです~。またよろしく!
-
Yah, I used the if statement so that if this was on the changed event of a field I wouldn't end up in an infinite loop.
-
I have a form that we use to scan barcodes into that I have transferred to Infopath. My trouble is that when using a 4 column layout table my barcode reader works correctly on the first column but will not move to the top of the second column to continue the input. It either jumps out of the column and continues to scan or inputs all numbers ...
-
Most of that makes sense to me (what you wrote above), but what about the if statement? If I want to have this run when a button is clicked, then I can just use the rest right?
-
Thanks for the response! That makes perfect sense to me. In fact, I've already tried that and it didn't work. At first, I was thinking it wasn't recognizing "is blank", but as I mentioned above, I'm now thinking there is something that prevents the condition from being checked when (it thinks) ...
-
Whoops, you don't use the CTRL name, you use eventObj. I'm sorry I confused you, I included the event handler sig so you'd see the (eventObj) argument being passed in. Try:
set objectvariable = eventObj.Source.selectSingleNode("XPath")
-
Here is a link to the MSDN documentation. For example:
if (e.Operation.ToString().Equals("ValueChange"))
{
XPathDocument ...