I have an access 2000 database with two tables
An employee table linked to a holiday table (which
contains a field for the link and a date/time field)
The relationship is one-to-many
I have the following line in my application.
This is great, as I'm able to display all the names of the employees.
The next thing I'm attempting to do is then query the holiday table to display all the holidays that each employee is taking (if an employee isn't taking holidays, I
then move on to the next record using the MoveNext command).
I think the NextRecordSet will let me do this, but if I have
to go back to the first query, am I able to do so by issuing another NextRecordSet?
Any insight is appreciated. :
An employee table linked to a holiday table (which
contains a field for the link and a date/time field)
The relationship is one-to-many
I have the following line in my application.
Code:
SQLString = "SELECT Count(EmployeeName.ID) AS NoOfEmp, EmployeeName.Name, EmployeeName.ID from EmployeeName GROUP BY EmployeeName.Name, EmployeeName.ID"
This is great, as I'm able to display all the names of the employees.
The next thing I'm attempting to do is then query the holiday table to display all the holidays that each employee is taking (if an employee isn't taking holidays, I
then move on to the next record using the MoveNext command).
I think the NextRecordSet will let me do this, but if I have
to go back to the first query, am I able to do so by issuing another NextRecordSet?
Any insight is appreciated. :