-
*editted to clear confusion*
not(. = preceding::my:NameOfElement/@my:NameOfAttribute)
---------------
Matt Faus
InfoPath Dev Texas
-
I have 2003 SP2 (11.6565.6568). I am hitting the save button (the disk icon). Yes it does ask for a name. No, the name is different. The form itself is called ''Work Request'' and when I save it back (after I fill it out) I named it by the project number. It does save it to the SharePoint server with the name I give it. But when you go to open ...
-
-
Hi all, in a dropdownlist to filter duplicate values I used
not(my:RepElem1 = preceding::my:RepElem1)
and it works fine. Now Node1 became an attribute. I tried to write:
not(@my:RepElem1 = preceding::@my:RepElem1)
but this expression is not accepted.
So I tried:
not(../my:Parent/@my:RepElem1 = ../preceding::my:Parent/@my:RepElem1)
but it ...
-
Hi Carlos,
Welcome to the Forum!
You can have fields in the UI to take input for 'Updated_By' and Dates, and use these value in the query. Here is the way to do it once you have the input value in the fields.
string updatedBy = ''abc''; //Get Value from the UI field
string date1 = ''2006-01-23''; //Get Value from the UI field
string date2 = ...
-
Hi again,
1) OnAfterChange is good. You can filter in the OnAfterChange event handler for insert or update or delete.
2) So just filter out remove. There's an example in the SDK and in Chapter 2 of our book.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Carlos,
I think you will need to write code to do this. I'll ask Agni to respond.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Droberts and welcome to our forum!
What version of InfoPath do you have - go to Help->About Microsoft InfoPath and copy down the version number at the top?
Are you clicking on save or submit to save the form to SharePoint? When you save it is it asking for a name? Does the name match the form created in the SharePoint form library?
How ...
-
See the other post - there are samples on how to create Custom ActiveX Graph Controls on MSDN.
Patrick Halstead [InfoPath MVP]
InfoPathDev
-
Hi Nukkumatti,
How about a custom ActiveX control? There was a sample showing how to do what you want on MSDN a while back. Search for Joshua Bell.
Patrick Halstead [InfoPath MVP]
InfoPathDev