B
Bean
I am creating a database for billing and payroll. Employees are paid
by deliveries and at times hourly. I am having problems extracting
all payroll by driver in my query and am hoping someone will help me
out here. Here are some more details.
I have the following tables:
Drivers:
Driver information and DriverCode (Primary Key)
Deliveries:
DispatchDate, ManifestNumber (Primary Key), DriverCode
Manual_Payroll:
Hours, ExtraMiles, DriverCode (Primary Key), DispatchDate
(Secondary Key)
Each driver can make more than one delivery per day but may get misc.
pay without making a delivery with a limit of one record per day per
driver for misc pay.
Trying to pull this information with one query with joins between
Drivers
riverCode and Deliveries
riverCode
Drivers
riverCode and Manual_Payroll
riverCode
Deliveries
ispatchDate and Manual_Payroll
ispatchDate
only pulls the information for drivers that receive misc. pay then
lists the misc. pay for each delivery made.
If I try change the join type Access complains about ambiguous outer
joins.
I can pull the information correctly in a separate queries but still
can't get a new query from those queries to work right.
Will someone nudge me in the right direction. Please go easy on me,
I'm quite obviously a newbie.
Thanks.
by deliveries and at times hourly. I am having problems extracting
all payroll by driver in my query and am hoping someone will help me
out here. Here are some more details.
I have the following tables:
Drivers:
Driver information and DriverCode (Primary Key)
Deliveries:
DispatchDate, ManifestNumber (Primary Key), DriverCode
Manual_Payroll:
Hours, ExtraMiles, DriverCode (Primary Key), DispatchDate
(Secondary Key)
Each driver can make more than one delivery per day but may get misc.
pay without making a delivery with a limit of one record per day per
driver for misc pay.
Trying to pull this information with one query with joins between
Drivers
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
Drivers
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
Deliveries
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
![Big Grin :D :D](/styles/default/custom/smilies/grin.gif)
only pulls the information for drivers that receive misc. pay then
lists the misc. pay for each delivery made.
If I try change the join type Access complains about ambiguous outer
joins.
I can pull the information correctly in a separate queries but still
can't get a new query from those queries to work right.
Will someone nudge me in the right direction. Please go easy on me,
I'm quite obviously a newbie.
Thanks.