Group:  Other Microsoft Office Products ยป microsoft.public.infopath
Thread: SQL Data to Auto populate InfoPath fields

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

SQL Data to Auto populate InfoPath fields
william 10.07.2006 22:57:01
I'm trying to create a query in InfoPath that takes a users login credentials
and queries an SQL Database to retrieve values such as FirstName, LastName,
Email, Phone, etc. I have created the Data Connection to the database, but
I'm still new to the scripting. I want to create the script to run OnLoad.
So that as soon as it opens the fields are already populated with the proper
information.
RE: SQL Data to Auto populate InfoPath fields
S.Y.M. Wong-A-Ton 11.07.2006 18:06:01
Check out this article: http://enterprise-solutions.swits.net/infopath/query-access-database-list-numbers.htm

While it doesn't give you all the answers, it will help you get started with
retrieving the data connection in code and modifying the SQL statement to
retrieve the information you want to retrieve from the database.

Also, search this newsgroup, since there are many examples listed on how to
get this done.
---
S.Y.M. Wong-A-Ton


"william" wrote:

[Quoted Text]
> I'm trying to create a query in InfoPath that takes a users login credentials
> and queries an SQL Database to retrieve values such as FirstName, LastName,
> Email, Phone, etc. I have created the Data Connection to the database, but
> I'm still new to the scripting. I want to create the script to run OnLoad.
> So that as soon as it opens the fields are already populated with the proper
> information.

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net