G
Guest
I have a database with two tables:
Table (table nameata) contains 183 fields. (Field names: Name, 1, 2, 3, 4
...... 182) . These 182 fields will contain number of troubleshooting done on
each day by a technician from 1st September 2004 till date. Name field
contains names of the technicians. 1, 2, 3.... 183 contains number of
customer visits for troubleshooting (minimum visits = 0 maximum = no milit).
I have another table (table nameroductivity) with 10 fields (Field
names:Name, 25, 50, 75, 100, 125, 150, 175, 200 & Consistency).
A technician who is capable of doing 6 or more troubleshooting in a day are
the best performers. The names that I have in Data table are similar to what
I have in the Productivity table.
Now, I want to check if the first technician has done 6 or more
troubleshooting in any of the first 25 days (from 1 to 25; check this in the
Data table). If yes, put the count in field name 25 of the Productivity
table.Similar task should be done for the next 7 fields (till 200) of the
productivity table. After that check if that Technician has a value more than
ZERO in all the 8 fields of the Productivity table. If yes, put YES in the
consistency field. Once finished move to the next technician till EOF.
Shekhar
Table (table nameata) contains 183 fields. (Field names: Name, 1, 2, 3, 4
...... 182) . These 182 fields will contain number of troubleshooting done on
each day by a technician from 1st September 2004 till date. Name field
contains names of the technicians. 1, 2, 3.... 183 contains number of
customer visits for troubleshooting (minimum visits = 0 maximum = no milit).
I have another table (table nameroductivity) with 10 fields (Field
names:Name, 25, 50, 75, 100, 125, 150, 175, 200 & Consistency).
A technician who is capable of doing 6 or more troubleshooting in a day are
the best performers. The names that I have in Data table are similar to what
I have in the Productivity table.
Now, I want to check if the first technician has done 6 or more
troubleshooting in any of the first 25 days (from 1 to 25; check this in the
Data table). If yes, put the count in field name 25 of the Productivity
table.Similar task should be done for the next 7 fields (till 200) of the
productivity table. After that check if that Technician has a value more than
ZERO in all the 8 fields of the Productivity table. If yes, put YES in the
consistency field. Once finished move to the next technician till EOF.
Shekhar