I'm trying to call on a function I created as follows. The stored functions is saved as :
Public Function GetCaps(masterk ey As String, id As String)
---All the code
End Function
I am calling the function from a form as follows:
Call GetCaps(Me.Text 3, Me.Text5)
variable masterkey is stored in the forms' Text3 and same for id.
When I click the button, I get the following error:
"Compile Error - Expected Variable or procedure, not module"
Can someone help me..
Public Function GetCaps(masterk ey As String, id As String)
---All the code
End Function
I am calling the function from a form as follows:
Call GetCaps(Me.Text 3, Me.Text5)
variable masterkey is stored in the forms' Text3 and same for id.
When I click the button, I get the following error:
"Compile Error - Expected Variable or procedure, not module"
Can someone help me..
Comment