refresh

D

Dorothy

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
 
Top