테이블에서염 TB-> 테이블이름을 TB로 주었습니다.
TB.First;
if SD.Execute then begin
fName:= SD.FileName;
fName:= 'DB'+FormatDateTime('YYMMDD',Now)+'.Txt';
Assignfile(txt,f);
Rewrite(txt);
for ic:=1 to TB.recordcount-1 do begin
sb :=TB.Field[ic].value;
end;
writeln(txt,sb);
end;
closefile(txt);
이렇게 짰는데염..왜 저장이 안될까염?
글구 가끔 에러가 나는데염..이유를 모르겠습니다. invaild variant type conversion나오넹
고수님들 제발알려주세염..