Solved

Can 1 form refresh another form?

Posted on 2006-11-21
7
260 Views
Last Modified: 2008-02-01
I have frmRetailName that needs to refresh frmSelector either when I run it's append query command button or when it exits out.

using this code:
DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70

I can refresh frmSelector with its own button but it's an extra step.   I need frmRetailName to do it.  Is this possible?


Thanks in advance.
Net


0
Comment
  • 2
  • 2
  • 2
7 Comments
 
LVL 65

Accepted Solution

by:
rockiroads earned 100 total points
ID: 17989960
u could try

forms("frmSelector").Form.Refresh

0
 
LVL 61

Assisted Solution

by:mbizup
mbizup earned 50 total points
ID: 17989961
Yes--
To requery the other form:
Forms!frmSelector.requery
0
 
LVL 4
ID: 17990076
Thanks
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 
LVL 4
ID: 17990134
rock,

Thanks for you answer.  The requery worked, but it went back to the beginning.  The refresh code refreshed it at its current record.  That's kind of what I was looking for.  I was a little quick to accept without giving you some points. I appologize.  Yours worked and I wanted to give you recognition.  Thanks to both.

Net
0
 
LVL 61

Expert Comment

by:mbizup
ID: 17990152
Netcepter,
You can post a note in community support with the URL to this question, and ask that they reopen it so that you can set this straight...

Thanks
0
 
LVL 65

Expert Comment

by:rockiroads
ID: 17990217
Hi netcepter
dont worry about it, fact u acknowledged my solution worked is good enough for me :)
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

In the article entitled Working with Objects – Part 1 (http://www.experts-exchange.com/Microsoft/Development/MS_Access/A_4942-Working-with-Objects-Part-1.html), you learned the basics of working with objects, properties, methods, and events. In Work…
A simple tool to export all objects of two Access files as text and compare it with Meld, a free diff tool.
Familiarize people with the process of utilizing SQL Server stored procedures from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Micr…
With Microsoft Access, learn how to specify relationships between tables and set various options on the relationship. Add the tables: Create the relationship: Decide if you’re going to set referential integrity: Decide if you want cascade upda…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now