Hi all,
I created a function that was to re-set the values in a text box i.e. textbox1 = 1 and when the function is run the textbox is to return to 0
Call the function:
Reset_Values ("txtScore") 'txtscore is the name of the textbox
The function:
Private Function Reset_Values(Field1 As String) As Integer
Reset_Values = Field1.Value = 0
End Function
The error i get is:
"Compile error: Invalid Qualifier"
Can anyone see where I am going wrong?
/Nice
I created a function that was to re-set the values in a text box i.e. textbox1 = 1 and when the function is run the textbox is to return to 0
Call the function:
Reset_Values ("txtScore") 'txtscore is the name of the textbox
The function:
Private Function Reset_Values(Field1 As String) As Integer
Reset_Values = Field1.Value = 0
End Function
The error i get is:
"Compile error: Invalid Qualifier"
Can anyone see where I am going wrong?
/Nice