(*把新增數據的自動編號存到列表中 *)
IDList
end;
ADODataSet
GBxList
BtnSave
BtnNew
ShowMessage(
end;
procedure TFrmSave
var
i: Integer;
ID
Old
begin
Memo
for i :=
begin
ID := IDList
ADODataSet
Number := ADODataSet
Name := ADODataSet
Old := ADODataSet
Sex := ADODataSet
TelePhone := ADODataSet
DepartMent := ADODataSet
JoinDate := ADODataSet
with Memo
begin
Add(LBName
Add(LBName
Add(LbOld
Add(LbSex
Add(LbPhone
Add(LbPart
Add(LbDate
Add(
end;
end;
end;
end
right
From:http://tw.wingwit.com/Article/program/Delphi/201311/24853.html