Simple Coding Question - InfoPath Dev Sign in | Join | Help in Code InfoPath (Entire Site) 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 InfoPath Dev » InfoPath » Code » Simple Coding Question Simple Coding Question Last post 02-15-2009 09:23 PM by swathip. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 02-13-2009 12:42 PM igor92128 Joined on 02-12-2009 Posts 29 Simple Coding Question Reply Contact I was wondering how I would access form controls in Visual Studio. I have a form that queries a SQL database and returns records. What if I wanted to take a database value for example and do string manipulations with it before displaying it in the text box? Why can't I call any of my controls on the form in Visual Studio? Thanks. 02-15-2009 09:23 PM In reply to swathip Joined on 10-30-2007 India Posts 487 Re: Simple Coding Question Mark as Not AnswerMark as Answer... Reply Contact Hi, You can do this using the xpath of that control. If you are using Infopath 2007, then go to data source and right click on the field. You will find copy XPath. Click on this and paste in a note pad. You will see the path of that field. Swathipwww.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
I was wondering how I would access form controls in Visual Studio. I have a form that queries a SQL database and returns records. What if I wanted to take a database value for example and do string manipulations with it before displaying it in the text box? Why can't I call any of my controls on the form in Visual Studio?
Thanks.
You can do this using the xpath of that control. If you are using Infopath 2007, then go to data source and right click on the field. You will find copy XPath. Click on this and paste in a note pad. You will see the path of that field.