M
Marcie
I have a table with field names like:
Present Status Q3
Your satisfaction Q4 etc...
when the field is populated it has one of many different answers
Present Status Q3 could have
Employed, part-time
Employed, Full-time
Not employeed but seeking
etc...
I started building IIf statements but they got very ugly very quickly and I
did see something about no more than 2 so I started trying to pass this
information into a module and cannot seem to get the paramaters to pass
In the query I have Status:WrkStat([Present Status Q3]) and in moudle I have
Public Function wrkstat([present status q3] as String)) As String
If Status Like "Employed, part-time%" Then
wrkstat = 1
End If
End Function
I cannot get the function to accept the field name. I did also try to do
something in query like Status[present status q3]) and then use that and
was still not succesful and that would be a ton of work because I have about
20 questions that I need to turn there answer into a 1, 2, 3, 4 etc based on
answer
Present Status Q3
Your satisfaction Q4 etc...
when the field is populated it has one of many different answers
Present Status Q3 could have
Employed, part-time
Employed, Full-time
Not employeed but seeking
etc...
I started building IIf statements but they got very ugly very quickly and I
did see something about no more than 2 so I started trying to pass this
information into a module and cannot seem to get the paramaters to pass
In the query I have Status:WrkStat([Present Status Q3]) and in moudle I have
Public Function wrkstat([present status q3] as String)) As String
If Status Like "Employed, part-time%" Then
wrkstat = 1
End If
End Function
I cannot get the function to accept the field name. I did also try to do
something in query like Status[present status q3]) and then use that and
was still not succesful and that would be a ton of work because I have about
20 questions that I need to turn there answer into a 1, 2, 3, 4 etc based on
answer