linkto a sql table

D

Diane

I have a sql table that houses codes I would like to access through info
path. Is this possible to do?
 
S

Shailaja

Hello,
InfoPath has default functionality that allows you to retrieve data from the
DB without having to write code. If you write code to retrieve data then you
will have to give full trust to the form.

How to retrieve data from the DB directly via InfoPath
1. Click on Tools -> Data connections
2. Click on Add and select Receive in the radio button options and click on
Next
3. Select Database and click on Next
4. Click on Select Database and create a data connection to the database.
This is place where you edit the SQL query specifically if you so wish by
clicking on Edit SQL.
5. Click on Next and then Click on Finish

From now on whenever the form is opened it will retrieve the latest
information from the database.
 

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