General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Network:
Windows 2000 Server
select taxliab.clientno as clientno, ;
YEAR(taxliab.chkdate) as year, QUARTER(taxliab.chkdate) as qtr, ;
taxliab.duedate as duedate, ;
sum(taxliab.amount-taxliab.credtaken-taxliab.removed) as amount, ;
client.eftpscode as pin, client.fedid as fedid, ;
lcfirsttaxtype as taxtype, lccode as code ;
from taxliab, client ;
where taxliab.clientno == client.clientno and ;
taxliab.taxtype $ lctaxtype and ;
taxliab.duedate <= lddate and ;
taxliab.status == 'P' ;
group by taxliab.clientno, YEAR(taxliab.chkdate), QUARTER(taxliab.chkdate), taxliab.duedate ;
order by taxliab.clientno, YEAR(taxliab.chkdate), QUARTER(taxliab.chkdate), taxliab.duedate ;
into cursor tcdata readwrite
this does not work
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only