Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2005

Tip: Looking for answers? Try searching our database.

One Refresh button for three views

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mandy O - 01 Jul 2005 19:50 GMT
Is is possible to have a refresh button in default view which refreshes all
the fields in default and other two views? If yes, how do we do that?
Greg Collins [InfoPath MVP] - 01 Jul 2005 20:07 GMT
Fields are associated with the data source, not the view.

When you update your data source, all field values associated with that data souce for all views are automatically updated.

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Is is possible to have a refresh button in default view which refreshes all
the fields in default and other two views? If yes, how do we do that?
mandy O - 01 Jul 2005 20:51 GMT
Thanks!
But i want to refresh my queryfields so that i can do a new search.
since i have an option to search by view or by view 2, i want the refresh
button(In default view) to refresh both the views.So, now when i do a search
from view 2, i don't have to go back and delete the search in view 1.Is it
possible, to add such functionality?
Greg Collins [InfoPath MVP] - 01 Jul 2005 23:06 GMT
Perhaps I'm still not understanding exactly what you are trying to do... but let me try again anyway...

If you are working with only a single data source which is supplying the data fields to both views, then when you refresh, it automatically affects both views. If you want a refresh button on both views, you only need put one on both views.

If you are working with multiple data sources, and each one is supplying different data fields to each view, then you will need to write some code which, when you click the refresh button, tells both data sources to refresh.

Does that help?

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Thanks!
But i want to refresh my queryfields so that i can do a new search.
since i have an option to search by view or by view 2, i want the refresh
button(In default view) to refresh both the views.So, now when i do a search
from view 2, i don't have to go back and delete the search in view 1.Is it
possible, to add such functionality?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.