Filter Data Received from SQL Data Connection - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Filter Data Received from SQL Data Connection

Last post 09-15-2008 01:50 PM by WSU54. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-11-2008 06:01 AM

    • WSU54
    • Not Ranked
    • Joined on 09-11-2008
    • Posts 14

    Filter Data Received from SQL Data Connection

    I have been working with InfoPath for a while now, but have yet to run into this situation. 

    I have a user directory form that will connect to an SQL database and return the results of a table which contains user names.  I want to return that list of user names to my form, however I need to incorporate some way to filter them alphabetically.  So that if I have 1000 names in the table, end users can filter down to just those where the last name starts with "A", or "M", etc.

    I would like to do this with no code, if possible, as I am not a developer.

    Thanks for your help in advance!

    Filed under: ,
  • 09-11-2008 07:37 AM In reply to

    Re: Filter Data Received from SQL Data Connection

    Hi --

    Are you looking to filter the data before it is returned to your form? Or do you return all the data to your form and you only want to be able to filter the items shown to the user?

    If you are looking to filter the data before it is returned to your form, you'll either need to modify the query before it is run using code, or use a web service such as our Database Accelerator product that will allow you to create a dynamic query using rules.

    If you have already returned all 1000 names to the form (and you aren't finding it a performance hit) you can use a filter on your table. You'll need to add a field to your form to allow your user to enter (or select) the leter they are looking for, and then, in your table, under Properties, selec the Display tab, and filter the data to display the rows where the name begins with the letter entered in the field. Let me know if you need more detail, okay?

    Hilary Stoupa

  • 09-15-2008 01:50 PM In reply to

    • WSU54
    • Not Ranked
    • Joined on 09-11-2008
    • Posts 14

    Re: Filter Data Received from SQL Data Connection

    Thanks for the quick reply.

    OK, so I have this working.  Data connection to SQL, pull down menu that filters on what the user types in a text box.

    One issue...

    Filtering is not supported in browser-based forms, only the full InfoPath client.

    Is there a way to do this with browser-based forms that anyone in this forum has run across?

    Thanks!

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