CDSIEGroup
Technical User
I have a query that needs to be exported and I want to pass it criteria via a function. One of the fields is Employee and it contains Exempt or NonExempt. I want to use 1 query to export the data for Exempt, NonExempt and all employees. I can get it to work for just Exempt or just NonExempt but not both with the following function:
Public Function EmpType() As String
EmpType = "Exempt"
'Call Export Data Function
EmpType = "NonExempt"
'Call Export Data Function
End Function
I need to pass the query something that it sees as "Exempt" Or "NonExempt" but nothing seems to work. Any Ideas?
Thanks for the help,
Josh
Public Function EmpType() As String
EmpType = "Exempt"
'Call Export Data Function
EmpType = "NonExempt"
'Call Export Data Function
End Function
I need to pass the query something that it sees as "Exempt" Or "NonExempt" but nothing seems to work. Any Ideas?
Thanks for the help,
Josh