how do i do a passthrough query with data connection in infopath

S

sPaulc

I am trying to return data to an Infopath form using data (i.e. policy
number) that is entered by the user into the form. The query result should be
the results from a table in an external database that I am accessing using
ODBC. I can make the query work with the pasthrough parameter in the source
(Access) database query, or in the SQL statement in Infopath but can't see
how to garb that parameter from the Infopath document and pass it through.
 
S

Scott L. Heim [MSFT]

Hi,

When you created your InfoPath solution, did you create it directly from
the Access database (i.e. New From Data Connection)?

If you did, you should have various "queryFields" that you would use on
your form where you would enter the criteria and then click the Run Query
button.

Let me know if I am missing something obvious in your question.

Best regards,

Scott L. Heim
Microsoft Developer Support

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top