梁 梁志虎 Unregistered / Unconfirmed GUEST, unregistred user! 1998-10-06 #2 Memo字段的值仍可以通过fielbyname('name').asstring读出,你把它读到一个字符串中,想写到哪都可以
H huizhang Unregistered / Unconfirmed GUEST, unregistred user! 1998-10-06 #3 uses following line: StringList1.text:= MyTable.FieldByName('MemoFieldName').AsString; This will set all the strings in the stringlist.
uses following line: StringList1.text:= MyTable.FieldByName('MemoFieldName').AsString; This will set all the strings in the stringlist.
R Randolph Unregistered / Unconfirmed GUEST, unregistred user! 1998-10-07 #4 Table1.DisableControls; try Table1.First; StringList1.Clear; while not Table1.EOF do begin StringList1.Add(Table1.FieldByName('Memo').AsString); Table1.Next; end; finally Table1.EnableControls; end;
Table1.DisableControls; try Table1.First; StringList1.Clear; while not Table1.EOF do begin StringList1.Add(Table1.FieldByName('Memo').AsString); Table1.Next; end; finally Table1.EnableControls; end;
H huizhang Unregistered / Unconfirmed GUEST, unregistred user! 1998-10-07 #5 Randolph 的做法害人不浅, 将库中所有的 Memo 都加入到一个 StringList 那可 就热闹拉. 除非在加入一个 Memo 之前添加一行文字说明, 说明下面的各行来自第 几个纪录