You searched for the word(s): 2
-
I was able to figure out how to check if it was null and guess what it is. I don't really know why...
Ok rant over..Sorry for that. :)
-
[quote user="kelogs1347"]
[quote user="swathip"]
Hi,
Before getting the value of a node, verify that node is existing or not. Check rows.Current.SelectSingleNode( "@Person_Responsible", NamespaceManager) is null or not. If it is not null then go for rows.Current.SelectSingleNode( ...
-
[quote user="Jimmy"]
What you can do is put a breakpoint on that line, then do a quick watch on rows.Current, and look at its OuterXml. That should give you some idea of what it looks like and what may be missing.
You might have to iterate a few times to find the offending row.
[/quote]
I will try to do that. ...
-
[quote user="swathip"]
Hi,
Before getting the value of a node, verify that node is existing or not. Check rows.Current.SelectSingleNode( "@Person_Responsible", NamespaceManager) is null or not. If it is not null then go for rows.Current.SelectSingleNode( ...
-
What you can do is put a breakpoint on that line, then do a quick watch on rows.Current, and look at its OuterXml. That should give you some idea of what it looks like and what may be missing.
You might have to iterate a few times to find the offending row.
-
That's what baffles me because I made sure from my list that the Person Responsible column has values. Oh well I guess I'll just have to find another way. :)
-
Is it possible that a certain row might not have a Person_Responsible assigned? If so, you'll probably want to make sure that
rows.Current.SelectSingleNode("@Person_Responsible", NamespaceManager)
Is not null (or Nothing, my VB is a bit shaky), and assign an empty string to owner if it is.
-
It's in this line: Dim owner As String = rows.Current.SelectSingleNode( _
"@Person_Responsible", NamespaceManager).Value
-
Hi,
How can I get rid of begin transaction and rollback that Infopath puts around any data change I have in user interface preview form? I would like to be able to test my form.
Thank
Ali
-
Hi All,
I have a repeating table consisting of two columns (contact name and contact type). I would like to be able to update and delete individual rows of this table. Therefore, I added two buttons per row for Save and Delete and use the below code to delete, for example. The problem is that AppContactID always receives value from the first ...