refresh

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

How do I refresh a form in a macro and using code?

Thanks

JC
Vtek
 
Hello,

How do I refresh a form in a macro and using code?

Thanks

JC
Vtek

Hello. You can use the "On Click" command where you would have a
button that you would click that refreshes the form. This is found in
the properties of the button. In the VBA, you can write code that
contains the formulas that would refresh the data.

For example, let's say you have a field that calculates a rate
multiplied by 10. Here's a snippet of the code you could use.

Sub Button_Click()

me.rate = me.rate*10

end sub


Hope this helps!

Dorothy
 

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

update a list box on a tab 15
Access Form Refresh 1
Refresh Form 1
Form Layout 1
Refresh field on Form 2
Refresh method error 2
refresh combo boxes on form 6
Lookups - how to obtain data from a master spreadsheet into another 5

Back
Top