hi all!
i have the following query to run on ms access2000. once i run this query the data will be doubled. but i need it once. my problem is on where condition. there i have to check two different fields on table arjou (dtoacc, ctoacc) with glcode of the table glcode. any other ways?
thanks
chelvan
i have the following query to run on ms access2000. once i run this query the data will be doubled. but i need it once. my problem is on where condition. there i have to check two different fields on table arjou (dtoacc, ctoacc) with glcode of the table glcode. any other ways?
Code:
SELECT [DATE] , REFNO AS [REF NO] , orderno AS [ORDER NO] , fileno AS [FILE NO] , AMOUNT , glcode.description AS [NAME] FROM glcode , arjou WHERE glcode.glcode=arjou.ctoacc OR glcode.glcode=arjou.dtoacc ORDER BY date desc
chelvan
Comment