-
Hello:
One possibilty is listed here:
http://www.infopathdev.com/forums/p/6944/25303.aspx#25303
So, for example, for a field that you would like to require a value in if your status field does not equal incomplete, you would set the data validation on that field with the conditions that the status field is not equal to incomplete, and the field ...
-
I do not believe you can put controls in the header. You can put a field in there (IP2007) and somewhere in your form have a text box that the user fills out -- then that value would display in your header.
-
I guess my real concern with this scenario is whether the queries that pull the data for the GUPBN connection are run automatically when the form is opened, and what then loads up the fields with the user information in your form. If the queries run automatically, and there is nothing in place from preventing another person who opens the form from ...
-
Hello:
For the error in sample 1, try swapping the nodes in the last line: iter.Current.InsertAfter(newRow);
For the error in sample 2, you have no NameSpaceManager in your XPathNavigator Group.
MainDataSource.CreateNavigator().SelectSingleNode("/my:expenseReport/my:group4/my:group5");
Should ...
-
From the little I've read on the GetUserProfileByName datasource, when it is first configured if you don't change the defaults for the parameters (that is, if the Account Name in the query fields is blank), it will, by default, return the current user's information. Your issue is that once you have that current user's information, ...
-
Does it not show up in SharePoint when you follow the instructions for adding it? Are you using Sharepoint 2003 or 2007?
-
It is always nice when you have a happy boss, I agree! This forum has a ton of information on InfoPath, so be sure to use it as a resource as you learn....
-
Got it. So, can you tell me how you are getting your user information the first time through? Are you running a query when the form loads, or when a field changes, or ... ?
Basically, what you will need to do is (after you have gotten all the user info you need from the data fields in your GetUserProfileByName data source) set the correct ...
-
I may be starting to get this, sorry to be so slow! What you are getting from GetUserProfileByName is all your current user info, right? and you need to basically query the same web service again with the name of the manager to get the info for the manager?
-
I think some screen shots would really help -- I can't quite visualize what you are doing and I haven't used GetUserProfileByName, so I am unfamiliar. Also, I found a blog post that may be helpful to you: http://blogs.microsoft.co.il/blogs/itaysk/archive/2007/04/05/InfoPath-_2D00_-Get-the-current-user-without-writing-code.aspx