I keep getting the message - field name is a duplicate or invalid when creating a temptable. anybody see my error?
ctemp2 = sys(2015)
** Creating the temporary table.
create table &ctemp2 free ( ;
cupc c(25), ;
cid c(35), ;
nqty n(10,2), ;
cdesc c(50), ;
cinvno c(10), ;
mremark m, ;
cstationid c(10), ;
cphone c(20), ;
ddate d, ;
dsalesstamp t, ;
nrevno n(2,0), ;
linside l, ;
ccashier c(10), ;
lmodifier l,;
cputime c(10), ;
cpudate c(10), ;
mhremark m, ;
nqty2 n(10,2), ;
cuom c(25), ;
cdesc2 c(50), ;
cdelivery c(25), ;
component c(25), ;
lprtkit l, ;
lprint l)
use &ctemp2 alias temptable2
ctemp2 = sys(2015)
** Creating the temporary table.
create table &ctemp2 free ( ;
cupc c(25), ;
cid c(35), ;
nqty n(10,2), ;
cdesc c(50), ;
cinvno c(10), ;
mremark m, ;
cstationid c(10), ;
cphone c(20), ;
ddate d, ;
dsalesstamp t, ;
nrevno n(2,0), ;
linside l, ;
ccashier c(10), ;
lmodifier l,;
cputime c(10), ;
cpudate c(10), ;
mhremark m, ;
nqty2 n(10,2), ;
cuom c(25), ;
cdesc2 c(50), ;
cdelivery c(25), ;
component c(25), ;
lprtkit l, ;
lprint l)
use &ctemp2 alias temptable2