-
Both ''./'' and ''../'' returned null references. Current() doesn't appear to be allowed in XPath expressions. It says it's an undefined function and asks for an XsltContext to provide a definition. I had hoped to be able to use current() in the context of an absolute XPath. Something along the lines of ...
-
values is a collection of all @ProductLineValue attributes (the actual attributes, not just their values).
value gets set to each item in the values collection, one-by-one, not ''every value in values'' -- just one value at a time.
When you say assign to button, what do you mean? Are you talking about a Button Control?
Also are you using ...
-
If your particular scenario current() is the same as ., so there's no advantage.
Did your XPath use ''./'' or ''../''? Because that makes a difference. As stated above ''.'' is the current node whereas ''..'' is the parent node (even for attributes).
-
Thanks for the response, but I'm really bad with writing scripts...what would that something be?
I'm trying to assign those node values to a button in each row of a repeating table.
So the 'var value' would equal to every value in 'var values', but I'm not sure how to write the code for that.........thanks
-
I'm looking to make my form a little more user friendly.
My form has a contacts section on it, i am trying allow a user to select a company from a drop-down list box and it auto fill from the sharepoint list all the contact information about the company. Any one got any suggestions on how to do this?
i created a data connection to the ...
-
This code works great except when I have a field that is blank in my SharePoint List. (i.e. Address 2, Address 3, etc.) I get the following error:
TypeError: -2146827864: Object Required
Can anyone help please?
-
Hi There,
I am working on some forms for our firm. I am currently working on our vacation request form. I would like to automate it so that once the staff member fills in their portion, they can email it to their supervisor. The supervisor in turn will fill in their portion and then forward it on to HR.
The submit to HR is easy as it is ...
-
Ok, I think I've found the problem. I was assuming the SID value would just increment by one when new data was submitted, is there any way to do this? I basically want the database to automatically increment the SID by one so I don't have to submit it from the form.
-
The ''field'' that changes is actually an attribute within a node of an XmlDocument which is the datasource passed back from a web service. This attribute is the ''sender'' object when the ''on changed'' event fires. The other ''field'' that I need to update within the event handler is a different attribute of the same Xml element.
I tried ...
-
Use a relative XPath... you should already have the object for the current node from the event handler parameters. Then you can use a relative XPath like ''../OtherField'' to get to the other field. The .. means to go up to the parent node.