Nested functions in form

chris89

Registered User.
Local time
Today, 13:21
Joined
Nov 28, 2011
Messages
71
Hello everyone!

I have one form with Clear_button that has onClick Event Procedure like this:

Code:
Private Sub Clear_Click()
Me.text1=""
Me.SearchForm_subform.Requery
End Sub

I want to call this function on an other private sub
Is there a way on doing this??
Thank you in advance
 
Last edited:
What stops you?

BTW.

1. What you showed is a Subroutine, NOT a function, just to be clear.
2. In fact, only half a subroutine.
 
I don't know how to code this...
 
How do you call any function in access? Or any subroutine?
 
Just use Call Clear_Click from the private sub where you want to..
 

Users who are viewing this thread

Back
Top Bottom