B bigery Unregistered / Unconfirmed GUEST, unregistred user! 2002-08-23 #1 怎么样把一个记录类型的数组元素,转移到一个空的表格,表的字段和记录的各个项分别对应 表格是空的,请教各位了!
M MikeZ Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #2 for i := 0 to reccount - 1 do begin table.append; table.fieldvalues[0] := rec.memb0; table.fieldvalues[1] := rec.memn1; ... table.post; end
for i := 0 to reccount - 1 do begin table.append; table.fieldvalues[0] := rec.memb0; table.fieldvalues[1] := rec.memn1; ... table.post; end
T twos Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #3 for i:=Lower(rec) to High(rec) do begin table1.Append; table1.Fields[0].asstring:=rec.field1; table1.Fields[1].asstring:=rec.field2; ... try table1.post except table1.cancel end; end
for i:=Lower(rec) to High(rec) do begin table1.Append; table1.Fields[0].asstring:=rec.field1; table1.Fields[1].asstring:=rec.field2; ... try table1.post except table1.cancel end; end
N NeutronDelphi Unregistered / Unconfirmed GUEST, unregistred user! 2002-09-04 #4 用BatchMove组件可以轻松实现, BatchMove的使用非常的简单,Delphi帮助中还有例子