lcfile=CSV_file_full_path sqlsetprop(0,'DispLogin',3) store SQLSTRINGCONNECT(; 'DefaultDir='+addbs(justpath(lcfile))+';'+; 'Driver={Microsoft Text Driver (*.txt; *.csv)}'); TO gnConnHandle if gnConnHandle <=0 * no connections return endif lc=set("date") set date british ?SQLEXEC(gnConnHandle, "SELECT * from "+justfname(lcfile), "tmpcrs") =SQLDISCONNECT(gnConnHandle) set date (lc) sele 0 use (your_table) append from (dbf("tmpcrs"))Good Luck