Hi,
I am trying to put a criteria in the where clause to select records if the entry has a value in the cents digits (to the right of the decimal point). I can remember a way to do that. Please help.
Not quite. it is still returning all the records. I am thinking that there is a method like (right,2) = 0 but I know that only works with the left method and no right. My be even using the string method.
SELECT NewIncrease.CPT, NewIncrease.DESCRIPTION, FEE_SCHED21_FSC583.AMT AS AMT_AFTER
FROM NewIncrease LEFT JOIN FEE_SCHED21_FSC583 ON NewIncrease.CPT = FEE_SCHED21_FSC583.CODE
WHERE (((FEE_SCHED21_FSC583.AMT) Not Like '*.00'));
First, due the criteria, use an INNER join instead of LEFT.
FYI, I've suggestested the following:
WHERE Int(FEE_SCHED21_FSC583.AMT)<>FEE_SCHED21_FSC583.AMT
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.