M
Marco
Hello. In my query I need to insert two records set if the result has only
two recordset.
I need to insert on employees time table the time that they spend to launch
per day if that time don't exist.
Imagine this:
---------------------------------------------------------------------------------
Employe No. Date Time Description
1010 15-05-2007 08:00 In (starts
to works)
1010 15-05-2007 17:00 Out (quit
the work)
In that example it seams that the employee did not have the lauch time. In
that case I need to inser this:
---------------------------------------------------------------------------------
Employe No. Date Time Description
1010 15-05-2007 08:00 In (starts
to works)
1010 15-05-2007 13:00 Out (gone to
launch)
1010 15-05-2007 14:00 In (came
from launch)
1010 15-05-2007 17:00 Out (quit
the work)
but sometimes the launch time is register, so I don't need to do nothing
(see bellow
---------------------------------------------------------------------------------
Employe No. Date Time Description
1010 15-05-2007 08:00 In (starts
to works)
1010 15-05-2007 12:55 Out (gone to
launch)
1010 15-05-2007 13:55 In (came
from launch)
1010 15-05-2007 17:00 Out (quit
the work)
That time is register in another table it was even great if I was able to
load that time when this happens.
Please help me.
Not easy hein??
Regards in advanced.
Marco
two recordset.
I need to insert on employees time table the time that they spend to launch
per day if that time don't exist.
Imagine this:
---------------------------------------------------------------------------------
Employe No. Date Time Description
1010 15-05-2007 08:00 In (starts
to works)
1010 15-05-2007 17:00 Out (quit
the work)
In that example it seams that the employee did not have the lauch time. In
that case I need to inser this:
---------------------------------------------------------------------------------
Employe No. Date Time Description
1010 15-05-2007 08:00 In (starts
to works)
1010 15-05-2007 13:00 Out (gone to
launch)
1010 15-05-2007 14:00 In (came
from launch)
1010 15-05-2007 17:00 Out (quit
the work)
but sometimes the launch time is register, so I don't need to do nothing
(see bellow
---------------------------------------------------------------------------------
Employe No. Date Time Description
1010 15-05-2007 08:00 In (starts
to works)
1010 15-05-2007 12:55 Out (gone to
launch)
1010 15-05-2007 13:55 In (came
from launch)
1010 15-05-2007 17:00 Out (quit
the work)
That time is register in another table it was even great if I was able to
load that time when this happens.
Please help me.
Not easy hein??
Regards in advanced.
Marco