>UPC Name Amount Class >40001 ,Joe ,20.0 ,A >60002 ,Mary ,31.2 ,B >20003 ,Gary ,44.3 ,C > > >When imported into the table..... >Table foo > >Rec_ID UPC Name Amount Class >AutoIncrement >1 Joe 20.0 A >2 Mary 31.2 B >3 Gary 44.3 C > >>Will I have to REMOVE the Autoincrementing field, or move it to the END of the table??
lcCommand = [APPEND FROM MyFile FIELDS ] FOR lnFor = 2 TO FCOUNT([MyTable]) lcCommand = lcCommand + FIELDS(lnFor,[MyTable])+[, ] NEXT lcCommand = LEFT(lcCommand, LEN(lcCommand)-1) +[ TYPE .... DELIMITED .....](not tested at all)