W
wangyuwen
Unregistered / Unconfirmed
GUEST, unregistred user!
with modbyr1e10do
begin
Lock_bcdm38.First;
while not Lock_bcdm38.eofdo
begin
if save_flag = False then
Break;
Lock_bcdm38.Edit;
Lock_bcdm38rectp.value := '9';
save_flag := Cancel_bcdm38;
Lock_bcdm38.Next;
end;
if save_flag = False then
begin
Result := False;
Exit;
end;
将上述程序断定以为函数或过程,有关说明如下:
modbyr1e10 ataModule;
Lock_bcdm38:TQuery;
Lock_bcdm38rectp:TStringField;
Cancel_bcdm38:Function;
save_flag :boolean;
begin
Lock_bcdm38.First;
while not Lock_bcdm38.eofdo
begin
if save_flag = False then
Break;
Lock_bcdm38.Edit;
Lock_bcdm38rectp.value := '9';
save_flag := Cancel_bcdm38;
Lock_bcdm38.Next;
end;
if save_flag = False then
begin
Result := False;
Exit;
end;
将上述程序断定以为函数或过程,有关说明如下:
modbyr1e10 ataModule;
Lock_bcdm38:TQuery;
Lock_bcdm38rectp:TStringField;
Cancel_bcdm38:Function;
save_flag :boolean;