R
Robert
Access 2000...
I have a private sub with a simple calculation (it works).
However, when use a call procedure, it fails. Any advise?
Private Function Function1(A)
Function1 = A + 1
End Function
There is a text box that I have the ControlSource="Amount
saved " & Function1(2)
Then, I have a command button where the OnClick event is
the following:
Private Sub cmdButton2_Click()
Call Function1(3)
End Sub
The call procedure does not update the text box.
Thanks in advance for any assistance.
I have a private sub with a simple calculation (it works).
However, when use a call procedure, it fails. Any advise?
Private Function Function1(A)
Function1 = A + 1
End Function
There is a text box that I have the ControlSource="Amount
saved " & Function1(2)
Then, I have a command button where the OnClick event is
the following:
Private Sub cmdButton2_Click()
Call Function1(3)
End Sub
The call procedure does not update the text box.
Thanks in advance for any assistance.