G
Guest
Hello:
Here's my code:
SELECT TblDL.SecNm, TblDL.CUS, TblXZ.SED, TblDL.Ex, TblDL.Pay, TblDL.Grate,
TblXZ.CUS, TblXZ.Ex, TblXZ.Pay, TblXZ.Grate, TblDL.Ctry, TblDL.Stat
FROM TblDL INNER JOIN TblXZ ON TblDL.CUS = TblXZ.CUS
WHERE (((TblDL.CUS)=[TblXZ].[CUS]) AND ((TblDL.Grate)<>[TblXZ].[Grate]));
Here's my question:
TblDL.Grate and TblXZ.Grate are rates that can be up to six decimal places
long. When these come to within three decimal places I want the query to
recognize it as a match and not report it in the query. Right now a TblDL
rate of 2.3257 and a TblXZ rate of 2.32568 are recognized as mismatches. Any
help with this is greatly appreciated.
Robert
Here's my code:
SELECT TblDL.SecNm, TblDL.CUS, TblXZ.SED, TblDL.Ex, TblDL.Pay, TblDL.Grate,
TblXZ.CUS, TblXZ.Ex, TblXZ.Pay, TblXZ.Grate, TblDL.Ctry, TblDL.Stat
FROM TblDL INNER JOIN TblXZ ON TblDL.CUS = TblXZ.CUS
WHERE (((TblDL.CUS)=[TblXZ].[CUS]) AND ((TblDL.Grate)<>[TblXZ].[Grate]));
Here's my question:
TblDL.Grate and TblXZ.Grate are rates that can be up to six decimal places
long. When these come to within three decimal places I want the query to
recognize it as a match and not report it in the query. Right now a TblDL
rate of 2.3257 and a TblXZ rate of 2.32568 are recognized as mismatches. Any
help with this is greatly appreciated.
Robert