Using a text box to pass a parameter to a data source - InfoPath Dev
in

InfoPath Dev

Using a text box to pass a parameter to a data source

Last post 08-13-2009 07:30 PM by warrtalon. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 08-12-2009 08:34 PM

    • moggy
    • Top 150 Contributor
    • Joined on 06-22-2009
    • New Zealand
    • Posts 62

    Using a text box to pass a parameter to a data source

    I have a main data source 

    it has fields such as ID, Name, description

    I have a secondary data source to recieve data from sql server - if I run the query it would return over 20K records, so putting the values in a drop down list to select from is not an option.

    So I thought - text box, then add some rules to the text box to set the value of the ID of the data source, send a query then set the values returned into the fields in the main datasource

    However I always get the error the parameter is incorrect They are both the same data type.

  • 08-13-2009 07:30 PM In reply to

    Re: Using a text box to pass a parameter to a data source

    You need a query method to pass a query parameterm which a DB receive DC does not have.  You need a web service to interact with the db.

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