jollofrice
Registered User.
- Local time
- Today, 22:39
- Joined
- Jun 19, 2007
- Messages
- 27
I am building a database for a vehicle rental service and need to build a report to display the vehicle schedule. I want to use dates as column headers and list the vehicles down the left side of the report. At the intersections I need to list the name of the customer and the driver assigned or whether the vehicle is being repaired.
The relevant fields and tables are:
Customers Table:
[CustomerID]
[FirstName]
[LastName]
[Organization]
Sales And Reservations Table:
[CustomerID] (linked to Customers)
[ReservationNumber]
Rentals Table
[RentalID]
[ReservationNumber] (linked to Sales And Reservations)
[DriverID] (linked to Drivers)
[LicensePlate] (linked to Vehicles)
[StartDate]
[EndDate]
Repairs Table
[RepairID]
[LicensePlate] (linked to Vehicles)
[StartDate]
[EndDate]
Drivers Table
[DriverID] (linked to Rentals)
[FirstName]
[LastName]
Vehicles Table
[LicensePlate] (used as primary key)
[VehicleName]
I have absolutely no idea where to start. I've tried some crosstabs, some reports from scratch, and a few combinations of simple queries. Any help would be great.
The relevant fields and tables are:
Customers Table:
[CustomerID]
[FirstName]
[LastName]
[Organization]
Sales And Reservations Table:
[CustomerID] (linked to Customers)
[ReservationNumber]
Rentals Table
[RentalID]
[ReservationNumber] (linked to Sales And Reservations)
[DriverID] (linked to Drivers)
[LicensePlate] (linked to Vehicles)
[StartDate]
[EndDate]
Repairs Table
[RepairID]
[LicensePlate] (linked to Vehicles)
[StartDate]
[EndDate]
Drivers Table
[DriverID] (linked to Rentals)
[FirstName]
[LastName]
Vehicles Table
[LicensePlate] (used as primary key)
[VehicleName]
I have absolutely no idea where to start. I've tried some crosstabs, some reports from scratch, and a few combinations of simple queries. Any help would be great.