Hello !
These commands used to work in VFP 6, but it is not working in VFP 9:
It breaks in the last line (INTO TABLE TEMPRENT) and presents the error: "Command is missing required clause"
(Exactly the same commands copied from program
SELECT ;
BILHETES.TKCCLI AS XCODCLI, ;
BILHETES.TKNPOP AS XNOMCLI, ;
BILHETES.TKCIDA AS XCIDCLI, ;
BILHETES.TKSIGL AS XSIGCIA, ;
SUM(BILHETES.TKTRBR) AS XVRTARI, ;
SUM(BILHETES.TKGCBR) AS XVRGCBR, ;
SUM(BILHETES.TKG1BR) AS XVRG1BR, ;
SUM(BILHETES.TKG2BR) AS XVRG2BR, ;
SUM(BILHETES.TKG3BR) AS XVRG3BR ;
SUM(BILHETES.TKGUBR) AS XVRGUBR ;
FROM CLIENTES, BILHETES ;
WHERE (BILHETES.TKSTAT = "1" OR BILHETES.TKSTAT = "5") ;
AND CLIENTES.CCODI = BILHETES.TKCCLI ;
AND CLIENTES.CNPOP = BILHETES.TKNPOP ;
AND BETWEEN (BILHETES.TKDEMI, YDATAPRI, YDATAULT) ;
ORDER BY BILHETES.TKCCLI ;
GROUP BY BILHETES.TKCCLI, BILHETES.TKSIGL ;
INTO TABLE TEMPRENT
Thank you,
Cadeira
These commands used to work in VFP 6, but it is not working in VFP 9:
It breaks in the last line (INTO TABLE TEMPRENT) and presents the error: "Command is missing required clause"
(Exactly the same commands copied from program
SELECT ;
BILHETES.TKCCLI AS XCODCLI, ;
BILHETES.TKNPOP AS XNOMCLI, ;
BILHETES.TKCIDA AS XCIDCLI, ;
BILHETES.TKSIGL AS XSIGCIA, ;
SUM(BILHETES.TKTRBR) AS XVRTARI, ;
SUM(BILHETES.TKGCBR) AS XVRGCBR, ;
SUM(BILHETES.TKG1BR) AS XVRG1BR, ;
SUM(BILHETES.TKG2BR) AS XVRG2BR, ;
SUM(BILHETES.TKG3BR) AS XVRG3BR ;
SUM(BILHETES.TKGUBR) AS XVRGUBR ;
FROM CLIENTES, BILHETES ;
WHERE (BILHETES.TKSTAT = "1" OR BILHETES.TKSTAT = "5") ;
AND CLIENTES.CCODI = BILHETES.TKCCLI ;
AND CLIENTES.CNPOP = BILHETES.TKNPOP ;
AND BETWEEN (BILHETES.TKDEMI, YDATAPRI, YDATAULT) ;
ORDER BY BILHETES.TKCCLI ;
GROUP BY BILHETES.TKCCLI, BILHETES.TKSIGL ;
INTO TABLE TEMPRENT
Thank you,
Cadeira