h=FOPEN(textfile) do while !FEOF(m.h) insert into targetTable (memofield) VALUES (FGETS(m.h,2048)) enddo =FCLOSE(m.h)