Create a search function in InfoPath using a web service - InfoPath Dev
in

InfoPath Dev

Having trouble finding a blog or post that answers your question? Check out our Custom Search Page

Create a search function in InfoPath using a web service

Last post 03-01-2011 01:48 AM by arif@HP. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-28-2011 05:52 AM

    Create a search function in InfoPath using a web service

    Hi there,

    I was wondering if someone can provide some guidance for creating a search and filter facility in my InfoPath form.

    Currently, I have 4 fields in my form, which the user can conduct a search from.

    I initially mapped each field to a query parameter from a web service, from which attempted to construct a SQL query using a StringBuilder.

    The end result string was placed in an odbcAdapter, and dataset was used for filling the results. This dataset is then returned back to the InfoPath form. Unfortunately, my dataset object does not return any results from the database.

    Any ideas?

    Michael

     

     

  • 03-01-2011 01:48 AM In reply to

    Re: Create a search function in InfoPath using a web service

    Hi, it seems I solved the problem myself.

    The stringBuilder was not using speech marks around the where clause part.

    i.e. - Select * from db where table = "day";

    Many thanks.

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