H hzyingmu Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-30 #1 请问如何一行一行的取出Memo类型字段中的内容,即按照输入时的状态来安行取出各行的 字符串。
J jqw Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-30 #3 for i:=0 to ... yourstr:=memo.lines
P pl Unregistered / Unconfirmed GUEST, unregistred user! 2000-10-30 #4 var str:Tstrings; i:Integer; Tempstr:string; begin str:=Tstringlist.create; try str.text:=table1.fieldbyname('memo').asstring; for i:=0 to str.count-1 do tempdstr:=str.string; finally str.free; end; end;
var str:Tstrings; i:Integer; Tempstr:string; begin str:=Tstringlist.create; try str.text:=table1.fieldbyname('memo').asstring; for i:=0 to str.count-1 do tempdstr:=str.string; finally str.free; end; end;