Automatically refreshing list in drop-down list

E

Eric

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?
 
E

Eric

If I have a query button, it then will display all of the results on the
page.
"Greg Collins [InfoPath MVP]" <Greg.Collins_AT_InfoPathDev.com> wrote in
message You need to re-query your data souce. This can be done via a button or code.

--
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?
 
S

Scott L. Heim [MSFT]

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.
 

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