else
begin
//插入新的銷售單數據
adocommand
[制單人]
adocommand
//根據銷售單明細條目的數量
for i:=
if stringgrid
//重新組合編碼
begin
newnum
if length(inttostr(newnum
inputnum
if length(inttostr(newnum
inputnum
if length(inttostr(newnum
inputnum
if length(inttostr(newnum
inputnum
if length(inttostr(newnum
inputnum
adocommand
[銷售數量]
+
Cells[
adocommand
end;
//通知用戶
showmessage(
end;
end;
//
//
procedure Toutput
var
i
begin
adocommand
adocommand
showmessage(
//清空前面的輸入
for i:=
for j:=
stringgrid
combobox
combobox
edit
edit
edit
edit
end;
end;
right
From:http://tw.wingwit.com/Article/program/Delphi/201311/24895.html