query database using dropdown selection - InfoPath Dev
in

InfoPath Dev

query database using dropdown selection

Last post 02-29-2008 07:07 AM by Clay Fox. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-29-2008 05:53 AM

    query database using dropdown selection

    I'm quite new with Infopath.

    Is it possible to query a Database using a value selected in a DropDownList ?

    I have a first dropdown list that are filled with ProjectName list

    I want to fill a second dropdown (Task List) list according to the ProjectName selection.

    The problem is that ProjectName and Task List are not on the same server.

    I have a store procedure that take the ProjectName en entry and return the TaskList coresponding to it on the right server.

    I need either to connect to this store procedure or something like that

    Regards

  • 02-29-2008 07:07 AM In reply to

    Re: query database using dropdown selection

    Hi and welcome to Infopath and the forum.

    You can do this easily, however not with the standard database data connection.  As you have seen it does not allow for dynmic queries.

    Web Services are the best practice as they give the most flexibility.  There are ways to paste a query together in code but this can be tough to manage or not as efficient.

    Do you have access to a web server / sql server that you could install some web services?  Then you could query and table you wanted to.

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