how to call sub

R

richaluft

Hope someone can remind me how to do the following.
From an after_update event of a control on a form, I'd like to call
the 'on current' sub of the same form.
richard
 
D

Daniel Pineault

Firstly, you must change the sub you wish to call (Me.Form_Current) from
Private to Public. Then in the sub from which you wish to make the call from
enter

Me.Form_Current
--
Hope this helps,

Daniel Pineault
http://www.cardaconsultants.com/
For Access Tips and Examples: http://www.devhut.net
Please rate this post using the vote buttons if it was helpful.
 
B

Bob Quintal

=?Utf-8?B?RGFuaWVsIFBpbmVhdWx0?=
Firstly, you must change the sub you wish to call
(Me.Form_Current) from Private to Public. Then in the sub from
which you wish to make the call from enter

Me.Form_Current

No need to make a procedure public if it's called from within the same
module. It is required when calling from one module to another
 

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

Top