I have the follwoing code in an APP:
USE nCredit1 IN 0
select nCredit1
SET DEFAULT TO (gc_dailyreportspath)
COPY TO "Collections-Credits-" + STRTRAN(DTOC(m.dStartDate),"/") fields settdate, effdate, amount, trancode, entrydescr, reasoncode, addeninfo, bankname, dbaname, mid, acctnumber, tranrout, filename TYPE XL5
use in nCredit1
chdir (gc_datapath)
USE nCredit1 IN 0
select nCredit1
chdir "F:\ACH CREDIT REJECTS"
COPY TO "Collections-Credits-" + STRTRAN(DTOC(m.dStartDate),"/") fields settdate, effdate, amount, trancode, entrydescr, reasoncode, addeninfo, bankname, dbaname, mid, acctnumber, tranrout, filename TYPE XL5
USE IN nCredit1
I know I don't need to close the tabel and open it again but I did it because of the error. The first copy works fine. The second copy generates this error and I can't figure out why. Any ideas?
Thanks in advance for your help.
Randall
Thanks in advance for your help! :-)
Randall L. Johnson