| Employee : |
<%
openrs rsidEmpl, "select IdEmpl, Initiales from employees where DisableEmpl=0 order by 2"
IdCurrEmpl = 0
while not rsidEmpl.EOF
checkfree = ""
IdCurrEmpl = GetValue(rsidEmpl, 0)
if cstr(IdCurrEmpl) = cstr(IdEmpl) then
response.write " " & GetValue(rsidEmpl, 1) & ": | "
else
sqlcheckfree = "DateInt='" & DateIntervention & "' AND idEmpl=" & IdCurrEmpl & ""
checkfree = DLookUp("reldatelieupers", "IdTime", sqlcheckfree)
If checkfree = "" then
response.write " " & GetValue(rsidEmpl, 1) & ": | "
else
response.write " " & GetValue(rsidEmpl, 1) & ": | "
end if
end if
rsidEmpl.MoveNext
wend
set rsidEmpl = nothing
%>
|