Hello Guys,
I am trying to familiarize myself with Function in MS Access VBA. Does it not return strings. The following code give me an error message
Why?
I am trying to familiarize myself with Function in MS Access VBA. Does it not return strings. The following code give me an error message
Code:
Function getTraining(strTraining As String) As String
strTraining = "SELECT DISTINCT [Training] FROM QryTrainedEmployees ORDER BY [Training]"
Return strTraining
End Function
Why?