Refresh Form

  • Thread starter Thread starter Oli
  • Start date Start date
O

Oli

Hi

I have a command button that is opening another form (frm_termchange) and
doing Me.Visible=false

frm_termchange is not linked to any specific table.
frm_termchange performs an update to a record using an SQL command when the
information has been entered and a command button clicked. Also when this
command button is clicked i am doing docmd.openform "frm_Contacts".

However frm_Contacts is still showing the old data. When frm_Contacts is
reopened how can i get it to refresh the data/record?

TIA
Oli
 
Hi Rick

Me.Close is not a valid command....

I'm also passing OpenArgs to the 2nd form....

Any other ideas?

TIA
Oli
 
Sorry, I was using VB syntax. This will work.

DoCmd.Close acForm, "Form1"

You will need to pass your OpenArgs before you close the form.

Rick
 

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

Back
Top