D
dcx0026
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.cmdCopyClick(Sender: TObject);
var
strList: TStringList;
i , j: integer;
begin
strList := TStringList.Create;
try
//with DM do
begin
for i := 0 to E_Data.FieldCount - 1 do
if E_Data.Fields.FieldName <> 'RKEY' then
if E_Data.Fields.FieldKind = fkData then
strList.Add(E_data.Fields.AsString);
if strList.Count >0 then//
begin//
j := 0; //
E_Data.Append;
for i := 0 to E_Data.FieldCount - 1 do//
begin
if E_Data.Fields.FieldName <> 'RKEY' then
if E_Data.Fields.FieldKind = fkData then
begin//
E_Data.Fields.AsString := StrList[j];//
if (j <=(strList.Count -1)) then//
j:=j +1//
else begin
end;
end;//
end;
//E_Data.FieldByName('signature').Assign(cxImage1.Picture.Graphic);
E_Data.Post;
end
else begin
end;
end;
finally
strList.Free;
end;
end;
var
strList: TStringList;
i , j: integer;
begin
strList := TStringList.Create;
try
//with DM do
begin
for i := 0 to E_Data.FieldCount - 1 do
if E_Data.Fields.FieldName <> 'RKEY' then
if E_Data.Fields.FieldKind = fkData then
strList.Add(E_data.Fields.AsString);
if strList.Count >0 then//
begin//
j := 0; //
E_Data.Append;
for i := 0 to E_Data.FieldCount - 1 do//
begin
if E_Data.Fields.FieldName <> 'RKEY' then
if E_Data.Fields.FieldKind = fkData then
begin//
E_Data.Fields.AsString := StrList[j];//
if (j <=(strList.Count -1)) then//
j:=j +1//
else begin
end;
end;//
end;
//E_Data.FieldByName('signature').Assign(cxImage1.Picture.Graphic);
E_Data.Post;
end
else begin
end;
end;
finally
strList.Free;
end;
end;