Search - InfoPath Dev Sign in | Join | Help InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads Use our Google Custom Search for best site search results. Search More Search Options Page 1297 of 1302 (13017 items) « First ... < Previous 1295 1296 1297 1298 1299 Next > ... Last » Re: Questions: If/then in default value and AD username lookup 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 Posted to Newbie Questions (Forum) by Hilary Stoupa on 07-01-2008 Re: Problem with Getting Started Hi, Jim: I just tried to replicate the issue mentioned in your second paragraph, where I open a form from DAT, switch to design view, add the fields from the GetMyInfo service to my form, save, close, save DAT, and open the form again... and the fields I've added do show. I'm using XP, and my form is published locally. Can you tell me ... Posted to Qdabra Database Accelerator (Forum) by Hilary Stoupa on 07-01-2008 Re: Questions: If/then in default value and AD username lookup I see. Yes, you probably have a filter issue. Let's say you want to put the manager email into field1 in your form and that the current username is in field2. Right click field1, select properties, and in the default value field select the formula button. Then, in the Insert Formula window, select the Insert Field or Group button. The Insert ... Posted to Newbie Questions (Forum) by Hilary Stoupa on 07-01-2008 Re: Access Database connection Hello, and welcome! If you are always getting the first name, I would guess it would be because you didn't set a filter on the field. In the Select a Field or Group window, when you are selecting a field for a default value or a rule, in the lower left is a Filter Data button. In your scenario, you would select the User Name field, then ... Posted to Data Connections (Forum) by Hilary Stoupa on 07-01-2008 Re: Activating Secondary Data Connections to populate Drop down fields only when selected ? Hi: Your secondary data connection query can be run with a single line of code. In C#: this.DataConnections["DataConnectionName"].Execute(); With "DataConnectionName" replaced with the name of your data connection. However, the trouble that you will have is finding an event to connect this to. The events associated with ... Posted to General (Forum) by Hilary Stoupa on 07-01-2008 Re: populate a list box Hi -- you don't need the "this" in your first line -- the syntax would be XPathNavigator DOM = MainDataSource.CreateNavigator(); Posted to Code (Forum) by Hilary Stoupa on 07-01-2008 Re: InfoPath - Calling Stored Procedure with parameters from C# A web service is a great way to go, and Qdabra's DBXL can help you with this and much more. However, you can use a .config file in your C# project to store your authentication information, and call that in your code, so that you do not need to store your authentication information. This post has some information about using a .config ... Posted to Data Connections (Forum) by Hilary Stoupa on 07-01-2008 Re: Questions: If/then in default value and AD username lookup Hi: I don't quite understand question 2, but have a suggestion for question 1. I have used 'method 2' from this post with success for a conditional default value for a field: http://blogs.msdn.com/infopath/archive/2006/11/27/conditional-default-values.aspx The basic structure of the formula they suggest looks like ... Posted to Newbie Questions (Forum) by Hilary Stoupa on 06-30-2008 Re: InfoPath - Calling Stored Procedure with parameters from C# Hello: Here is a link to a code sample that creates a Sql connection in code: http://www.sharepointblogs.com/ssa/archive/2006/01/03/populating-infopath-fields-with-sql-data-using-managed-code.aspx Where this code has the command "select * from tblUser" you could easily replace with "execute sp" etc. If you want to ... Posted to Data Connections (Forum) by Hilary Stoupa on 06-30-2008 Re: Error on form load Hi, Bill: Are you able to open the form in design mode? A control that is unbound or has another problem may be easier to find that way.... Posted to Controls (Forum) by Hilary Stoupa on 06-30-2008 Page 1297 of 1302 (13017 items) « First ... < Previous 1295 1296 1297 1298 1299 Next > ... Last » Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.