Hi there,
I have a set of forms for employee time sheet information. In one form data about employee burdens (vacation, sick days, etc.) is entered. This information is only pertinent for full-time employees.
My problem: my list box takes the 'employeename' field from a table to populate itself, on that table there is a field 'full or part-time' which can have the possible data of 'Full Time' or 'Part Time'.
What Im trying to do(aka why this is a problem): I want to be able to isolate all the full-time employees and place them on the list box (without listing the part time employees).
What I think this involves: Some sort of if or 'iif' statement. I'm just unsure of where to put it, and if my syntax is correct.
My guesses:
IIF ([Full or Part-Time] = "Full Time", [Employeename], (something to not include false options))
If [Full or Part-Time] = "Full Time" Then
(insert something to make this add to the listbox).[Employeename]
End If
Thanks in Advance.
ConfusedA
I have a set of forms for employee time sheet information. In one form data about employee burdens (vacation, sick days, etc.) is entered. This information is only pertinent for full-time employees.
My problem: my list box takes the 'employeename' field from a table to populate itself, on that table there is a field 'full or part-time' which can have the possible data of 'Full Time' or 'Part Time'.
What Im trying to do(aka why this is a problem): I want to be able to isolate all the full-time employees and place them on the list box (without listing the part time employees).
What I think this involves: Some sort of if or 'iif' statement. I'm just unsure of where to put it, and if my syntax is correct.
My guesses:
IIF ([Full or Part-Time] = "Full Time", [Employeename], (something to not include false options))
If [Full or Part-Time] = "Full Time" Then
(insert something to make this add to the listbox).[Employeename]
End If
Thanks in Advance.
ConfusedA