do while !feof(nFileHandle) select &cTable append blank for nCntr = 1 to fcount(cTable) do case case type(field(nCntr)) = "C" replace eval(field(nCntr)) with alltrim(fgets(nFile)) case type(field(nCntr)) = "N" replace field(nCntr) with val(fgets(nFile)) . . . otherwise endcase endfor enddoI've tried replace eval(field(nCntr)) with alltrim(fgets(nFile)) and replace field(ncntr) with alltrim(fgets(nFile))