Retrieve data from sql DB - InfoPath Dev
in

InfoPath Dev

Retrieve data from sql DB

Last post 03-23-2009 01:26 PM by isupportyou. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-23-2009 09:23 AM

    Retrieve data from sql DB

    Our goal is to pull data from our DB into an infopath web form on MOSS 

     

    Here is the setup:

    -Infopath 2007

    -MOSS 2007

    -SQL 2005

     

    In SQL we created a web service to send/receive data from our DB.  In infopath we created a data connection than converted it to a UDC and uploaded it to MOSS.  Using this service we can write to the DB from a web form no problems.  Pulling data from the DB works only if we don't use a web form (i.e. if I open the form in infopath it pulls the data fine.)  If we attempt to pull data from the DB in a web form nothing shows up, the field is blank.  No error messages, nothing, it's just blank.  I've tried throttling the logs but still nothing.

    In MOSS I created the data connection file manually and wrote the query directly into the data connection file like this article demostrates: Click here

    This allowed the web form to pull the data just fine, but we want to use our web service.

    I hope that all makes sense, any help would be appreciated.

  • 03-23-2009 11:00 AM In reply to

    Re: Retrieve data from sql DB

    Hello and welcome to the forum!

    You might wanna try our UDC Editor Tool. It lets you create a data connection file where you can specify your web service info. It also works in browser-enabled forms. Please let me know if you run into issues and I'll be glad to assist you further.

    Cheers!

    Mel Clemente
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™

  • 03-23-2009 01:26 PM In reply to

    Re: Retrieve data from sql DB

    Thank you for the response.  I've given it a try and I couldn't figure out how to get it to upload the UDC.  I create a new UDC and say upload all changed, it switches the status to "new", and if I go to the data connections library nothing is there.  I look through the user manual and it doesn't give any more steps...

Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.