>Sorry! I must have deleted the line of code.
>
>Copy TO ALLTRIM(localparms.datadir)+ "temp.DBF" FOR invoicehdr.INVOICENUM = WHICH
Hmm, what is in LocalParms.datadir (could it be missing \ at the end?) and what is Which? Is it a variable?
If it's not broken, fix it until it is.
My Blog