refresh
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » Refresh

Refresh

resolvedResolved · Low Priority · Version 2007

replyReply Wed 11 Aug 2010, 12:28Delegate Lucia said...

Lucia has attended:
Access Intermediate course

Refresh

Hi!

Is there a way of creating a "Refresh All" button or command in a form, so that it will bring information just entered in another form to the current form I'm working on?

I created a "refresh" button using the button in the design tools but it didn't work. I tried changing the command to "RefreshData", RefreshPage" but nothing worked.. However, if I click Refresh All in the ribbon, it works! Any ideas of what the command should be or what can be going wrong?

Many thanks!

Lucia Possas

For upcoming training course dates see: Pricing & availability

replyReply Thu 12 Aug 2010, 01:48Trainer Anthony said...

RE: Refresh

Hi Lucia, thanks for your query. You need to attach:

Me.Refresh

...to your refresh button to update the current form with information entered into another. Refresh All cycles through all open forms and controls and updates them and to do this in code you need to count the number of open objects, loop through them and refresh them one by one which might be overkill for what you're trying to achieve. Make sure the information entered into the previous form has been saved to the database before you refresh your new form.

Hope this helps,

Anthony

 

Please browse our web site to find out more about
access database microsoft training and other Microsoft training courses.

Access tip:

Switchboard Startup

An option when you open your Access database that contains all of you tables, forms and queries is only the switchboard is displayed.

To achieve this, select Tools click on Startup. On the right hand side of the Startup screen you are able to select which form you want to open when you open you Access Database. Once you have selected this, there is a check box just below that says "Display Database Window", you need to uncheck this option. Then click ok.

Then when you close you Access database and re open it, the database should open with just the switchboard being shown


View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard