I am getting an error message "near mileage".
Any ideas? This looks like the last big problem with this procedure.
WHERE
qryFieldVoucherPersonnel.PersNum=[FDMI]
AND
tblCurrentReportStatus.PRODStatus='Report received'
AND
tblFDMIVouchers.PaidStatus=0 Or tblFDMIVouchers.PaidStatus Is Null
AND
tblAutopsy.ExamType Not Like 'field*'
OR
qryFieldVoucherPersonnel.PersNum=[FDMI]
AND
tblCurrentReportStatus.PRODStatus='Report received'
AND
tblFDMIVouchers.PaidStatus=0 Or tblFDMIVouchers.PaidStatus Is Null
AND
tblAutopsy.ExamType Like 'field*'
AND
tblCurrentReportStatus.FieldExternalStatus='Report received'
[mileage]*[qryMileageFee.Fee]
AS
[Mileage Paid],
Gee