Hi!
I'm using MS Access 2002 and have troubles calling my function in a module I've created. When I try to even write the call of the function, it instantly gives me an error saying: "Compile Error Expected: (" eventhough I have the '(' in there. Sometimes it expects a '=' symbol instead, wanting me to bind the call to some variable I guess. What should I do? The function I'm calling does not return any parameters.
Here is my code:
I'm using MS Access 2002 and have troubles calling my function in a module I've created. When I try to even write the call of the function, it instantly gives me an error saying: "Compile Error Expected: (" eventhough I have the '(' in there. Sometimes it expects a '=' symbol instead, wanting me to bind the call to some variable I guess. What should I do? The function I'm calling does not return any parameters.
Here is my code:
Code:
Private Sub cmd_generoi_Click()
Dim instr As String
Dim motor As String
Dim muu1 As String
Dim muu2 As String
instr = instru_help.text
motor = moot_help.text
muu1 = muu1_help.text
muu2 = muu2_help.text
If instr <> "" then
replaceAliases.replaceAliases(False,instr)
End If
If muu1 <> "" Then
replaceAliases.replaceAliases (False,muu1)
End If
If muu2 <> "" Then
replaceAliases.replaceAliases (False,muu2)
End If
End Sub
Comment