All,
What am I doing wrong that it does not loop around employeeID?
This will create dates for the 1st employeeID, but then it stops. I
thought MoveNext goto the next Record (i.e. next employeeID) and then
fill in the dates again until it populates all the employees with
appropriate dates.
*************** *************** *************** **
While (Not emp.EOF)
lngResourceID = emp![EmployeeID]
While dblCurrentDate <= dblEndDate
rstSchedule.Add New
rstSchedule![EmployeeID] = lngResourceID
rstSchedule![WorkDate] = dblCurrentDate
rstSchedule.Upd ate
dblCurrentDate = dblCurrentDate + 1
Wend
emp.MoveNext
Wend
*************** *************** *************** ***
Sincerely,
Perry
What am I doing wrong that it does not loop around employeeID?
This will create dates for the 1st employeeID, but then it stops. I
thought MoveNext goto the next Record (i.e. next employeeID) and then
fill in the dates again until it populates all the employees with
appropriate dates.
*************** *************** *************** **
While (Not emp.EOF)
lngResourceID = emp![EmployeeID]
While dblCurrentDate <= dblEndDate
rstSchedule.Add New
rstSchedule![EmployeeID] = lngResourceID
rstSchedule![WorkDate] = dblCurrentDate
rstSchedule.Upd ate
dblCurrentDate = dblCurrentDate + 1
Wend
emp.MoveNext
Wend
*************** *************** *************** ***
Sincerely,
Perry
Comment