Why cannot REFRESH -- FORM

  • Thread starter Thread starter Martin
  • Start date Start date
M

Martin

In a form, I create a button which is used for refreshing this form ( this
button's refreshing funtion is leaded by the Access leading guide)

However, to my surprise, when I click it, the access shows me cannot
refresh. Why ??? ( in this form, I set up a lot of automatically
caculating TEXT box sourcing from the table information)


Thanks!
 
In a form, I create a button which is used for refreshing this form ( this
button's refreshing funtion is leaded by the Access leading guide)

However, to my surprise, when I click it, the access shows me cannot
refresh. Why ??? ( in this form, I set up a lot of automatically
caculating TEXT box sourcing from the table information)


Thanks!
Please post your code.

John W. Vinson[MVP]
 
The click button event code generated by the Access itself is:


Private Sub Command358_Click()
On Error GoTo Err_Command358_Click


DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70

Exit_Command358_Click:
Exit Sub

Err_Command358_Click:
MsgBox Err.Description
Resume Exit_Command358_Click

End Sub
 
Martin said:
In a form, I create a button which is used for refreshing this form (
this button's refreshing funtion is leaded by the Access leading
guide)

However, to my surprise, when I click it, the access shows me cannot
refresh. Why ??? ( in this form, I set up a lot of automatically
caculating TEXT box sourcing from the table information)

What is the exact error message -- or English translation of the error
message -- that Access displays when you click the button?
 

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

Similar Threads


Back
Top