UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Form refresh/requery/update with pages    
 
   
angelp
post Apr 18 2007, 06:46 PM
Post #1

UtterAccess Enthusiast
Posts: 69



I have a form with several pages on it and those pages contain subforms/forms. I would like the entire form and the pages to update when I click a button/tab.

I have tried a refresh button/tab
I have tried a requery button/tab

I am trying to avoid putting a refresh button on every page.

Can anyone help please.

Thanks,
Angel
Go to the top of the page
 
+
balaji
post Apr 18 2007, 08:18 PM
Post #2

UtterAccess VIP
Posts: 5,635
From: Chicagoland, USA



If there are multiple subforms on the form, you have to requery the form and then the individual subforms separately. You don't need separate refresh buttons on each page, but you do need separate refresh commands for each of the subforms fired from the same refresh button.
Go to the top of the page
 
+
Aquadevel
post Apr 18 2007, 08:43 PM
Post #3

UtterAccess VIP
Posts: 6,898
From: Earth...



Angel,

Welcome to UA!!

In addition to Balaji's post, you could try:

DoCmd.RunCommand acCmdRefreshPage

Good luck with your project. (IMG:http://www.utteraccess.com/forum/style_emoticons/default/sad.gif)

Aqua
Go to the top of the page
 
+
mishej
post Apr 19 2007, 01:54 AM
Post #4

Retired Moderator
Posts: 11,289
From: Milwaukee, WI



Check the help for more info on Refresh and Requery methods.

The Refresh is used to see changes to the existing set of records but will not see any additions or deletions.

The Requery will do a complete requery of the data and thus will see changes, adds and deletes.
Go to the top of the page
 
+
angelp
post Apr 20 2007, 10:29 AM
Post #5

UtterAccess Enthusiast
Posts: 69



Thanks everyone. I used Aqua's suggestion-seemed the easiest and it worked.

Thanks for all of your help!!!! -o!
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 18th May 2013 - 05:32 AM