You need to re-query your data souce. This can be done via a button or code.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
If I have a query button, it then will display all of the results on the
page.
You need to re-query your data souce. This can be done via a button or code.

Signature
Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com
I have a list that is coming from the database, is there anyway that I can
automatically refresh the query so that if a new row is inserted through
InfoPath, that list will imediately show the change.
How would I do that?
Scott L. Heim [MSFT] - 01 Sep 2005 21:12 GMT
Hi Eric,
You can setup a Rule so that you only query the secondary data connection:
- Right-click on your button and choose Properties
- Click the Rules button
- Click Add
- Click Add Action
- From the Action box choose: Query using a data connection
- From the Data Connection box, choose your secondary data connection
I hope this helps!
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights