Quantcast
Channel: SQL Server Reporting Services, Power View Forum
Viewing all articles
Browse latest Browse all 4035

Multiplying fields with conditions in SQL Server Management Studio

$
0
0

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


Viewing all articles
Browse latest Browse all 4035

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>