M
Mike Green
Hi All
I am trying to get the SQL below to work. I need the time and Cost to
return 0 if there is no data found for this FdJobCardID.
If there are no NonVAT jobs on this job card then NonVatCost must show 0 or
ideally 0.00
Thanks in advance
************************************************
SELECT TblJobCardJobs.FdJobCardID, TblJobCardJobs.FdJobCardJobVAT,
nz([FdJobCardJobCost],0) AS cost, nz([FdJobTime],0) AS [time], [cost]*[Time]
AS NonVATCost
FROM TblJobCardJobs
WHERE (((TblJobCardJobs.FdJobCardJobVAT)=False));
I am trying to get the SQL below to work. I need the time and Cost to
return 0 if there is no data found for this FdJobCardID.
If there are no NonVAT jobs on this job card then NonVatCost must show 0 or
ideally 0.00
Thanks in advance
************************************************
SELECT TblJobCardJobs.FdJobCardID, TblJobCardJobs.FdJobCardJobVAT,
nz([FdJobCardJobCost],0) AS cost, nz([FdJobTime],0) AS [time], [cost]*[Time]
AS NonVATCost
FROM TblJobCardJobs
WHERE (((TblJobCardJobs.FdJobCardJobVAT)=False));