Below is my procedure but when I execute:
APPEND FROM temp.dbf FOR compid="PSF" AND curdate=wdate
It does not know what wdate is!!!
Can anyone help?
Thanks,
Ross
*********************************************
Procedure getdate
STORE "N" TO correction
CLEAR
DO WHILE correction="N"
STORE " " TO wdate
@15,40 say "ENTER WRAPUP DATE(yymmdd):" get wdate function "!"
READ
STORE wdate TO wdate
@16,40 say "Is this date correct(Y/N):" get correction function "!" valid correction $ "YN"
READ
ENDDO
return
APPEND FROM temp.dbf FOR compid="PSF" AND curdate=wdate
It does not know what wdate is!!!
Can anyone help?
Thanks,
Ross
*********************************************
Procedure getdate
STORE "N" TO correction
CLEAR
DO WHILE correction="N"
STORE " " TO wdate
@15,40 say "ENTER WRAPUP DATE(yymmdd):" get wdate function "!"
READ
STORE wdate TO wdate
@16,40 say "Is this date correct(Y/N):" get correction function "!" valid correction $ "YN"
READ
ENDDO
return