-
Hi Turnipboy,
In read only or disabled mode also we can see the screen tip of that field. We don't have any option called whenever field is editable at that time only see the screen tip.
For avoid this screen tip, you can choose data validation message on that field. In this it shows whenever your validation is correct it shows the message.
-
I tried that post, it has reference to the current() expression but I cannot get that working for me.
I have two master/detail controls. 'Employee' records personal information about staff. 'Hours' records information about the hours worked by the staff member selected in 'Employee'.
When the selection in 'Employee' has changed I need to ...
-
Hi lmarkelon,
You need to set the sharepoint library name only. No need to specify complete path of that library.
-
First verify that GetDOM is actually returning an object.
Then see if you can select the root node. Then then next one down, etc.
Troubleshoot this way to figure out where the source of the problem is. Find out where the selections are failing. . . is it the data source object itself, or the XPath?
-
XDocument secondaryDOM = XDocument.GetDOM( ''Produkte'' );
//First you need to check the DOM is getting or not
secondaryDOM.setProperty( ''SelectionNamespaces'' , 'xmlns:dfs=''http://schemas.microsoft.com/office/infopath/2003/dataFormSolution '' xmlns:d=''http://schemas.microsoft.com/office/infopath/2003/ado/dataFields''');
//Try to set the ...
-
First question: Will monthlyExpeses actually equal SelectedemployeeDepartment, or should you be comparing employeeDepartment against SelectedemployeeDepartment? I'm guessin the latter.
Sounds like you need something more like:
/myFields/datafields/d:TOSS[employeeDepartment = current()/SelectedemployeeDepartment]/@monthlyExpenses
Of course, I ...
-
This is an unfortunate limitation. To get around this you will need to have a web service between your form and your database.
-
You can call into the task pane from managed code, but it will require Full Trust on your form because you are calling from managed to unmanaged code. If you go in the reverse (unmanaged to managed -or- task pane to form) then the Full Trust requirement does not exist.
-
When you open the new form via code, it returns a handle to the XDocument object of the form you just opened. You can use that XDocument object to populate data from the existing form into the new form.
-
What event handler are you using in your code? Some event handlers are run while the DOM is in readonly mode.