I'm currently getting a wierd error...
when i use the code below...
SELECT clients.[company name], cars.car_registration, price_list.[tyre id], -1*(front_left_tyre+front_right_tyre+rear_left_tyre+rear_right_tyre+spare_tyre) AS [tyre quantity], price_list.[customer price], clients.discount, job.[job id], [tyre quantity]*[customer price] AS total, ([total]/100)*17.5 AS vat, [total]+[vat] AS [grand total]
FROM price_list INNER JOIN (clients INNER JOIN (cars INNER JOIN job ON cars.[car id]=job.[car id]) ON clients.company=cars.company) ON price_list.[tyre id]=cars.[tyre id]
WHERE (((job.[job id])=3));
it displays the correct job until i get on to the last job, with id 4. If I set it to show data for job id 4 then it displays absolutely nothing. I find this really wierd because, as I have already said, the rest display fine. Does anyone have an idea what could be wrong and how i could fix it?
fini123
when i use the code below...
SELECT clients.[company name], cars.car_registration, price_list.[tyre id], -1*(front_left_tyre+front_right_tyre+rear_left_tyre+rear_right_tyre+spare_tyre) AS [tyre quantity], price_list.[customer price], clients.discount, job.[job id], [tyre quantity]*[customer price] AS total, ([total]/100)*17.5 AS vat, [total]+[vat] AS [grand total]
FROM price_list INNER JOIN (clients INNER JOIN (cars INNER JOIN job ON cars.[car id]=job.[car id]) ON clients.company=cars.company) ON price_list.[tyre id]=cars.[tyre id]
WHERE (((job.[job id])=3));
it displays the correct job until i get on to the last job, with id 4. If I set it to show data for job id 4 then it displays absolutely nothing. I find this really wierd because, as I have already said, the rest display fine. Does anyone have an idea what could be wrong and how i could fix it?
fini123