Hi,
In a SELECT-SQL I am unable to get my result. I want all the records from AcTran.dbf except those who have the following heads:
"PARTYC","PARTYS","EMPLOYEE","BANK","EXPENSES"
Table "Code" contains the following heads:
PARTYC
PARTYS
EMPLOYEE
EXPENSES
LOAN/DEPOSIT
OTHER INCOME
FIXED ASSETS
MISC.
BANK
CASH
STOCK
What I am missing?
Thanks
Saif
In a SELECT-SQL I am unable to get my result. I want all the records from AcTran.dbf except those who have the following heads:
"PARTYC","PARTYS","EMPLOYEE","BANK","EXPENSES"
Code:
dt2 = {30/06/2014}
lcString = '"PARTYC","PARTYS","EMPLOYEE","BANK","EXPENSES"'
SELECT Actran.reference, Actran.cdate, Actran.ccode, Code.description,;
Actran.debit, Actran.credit, Code.chead;
FROM ;
village!actran ;
INNER JOIN village!code ;
ON Actran.ccode = Code.ccode;
WHERE (Actran.cdate <= ( dt2 )) AND Code.cHead In(&lcstring) ;
ORDER BY Actran.ccode INTO CURSOR tActTran READWRITE
Table "Code" contains the following heads:
PARTYC
PARTYS
EMPLOYEE
EXPENSES
LOAN/DEPOSIT
OTHER INCOME
FIXED ASSETS
MISC.
BANK
CASH
STOCK
What I am missing?
Thanks
Saif