The purpose is to pull the glacct codes within a user input date range. I can get the first glacct to pull in and match known totals...however it doesn't appear that the additional glaccts are playing by the same rules.
SELECT gldet.kequipnum, gldet.glamt, gldet.glacct
FROM gldet
WHERE gldate >= @startdate AND gldate <= @enddate AND
gldet.glacct IN ('40400', '50500', '59004', '59014', '59024', '59034')
Any insight is appreciated!

New Topic/Question
Reply


MultiQuote




|