~
This commit is contained in:
parent
eada7efe0d
commit
4e3b223132
|
|
@ -2369,11 +2369,12 @@ begin
|
||||||
CRID := ADOQuery1.fieldbyname('CRID').Value;
|
CRID := ADOQuery1.fieldbyname('CRID').Value;
|
||||||
with ADOQueryCmd do
|
with ADOQueryCmd do
|
||||||
begin
|
begin
|
||||||
Close;
|
Close;
|
||||||
sql.Clear;
|
sql.Clear;
|
||||||
sql.Add('Update JYOrder_Main Set DYXH=''' + Trim(CRID) + ''' ');
|
sql.Add('Update JYOrder_Main Set DYXH=''' + Trim(CRID) + ''' ');
|
||||||
sql.Add('where mainid in ''' + Trim(FMainID) + '''');
|
sql.Add('where mainid='''+Trim(Order_Main.fieldbyname('mainID').AsString) +'''');
|
||||||
ExecSQL;
|
// ShowMessage(sql.text);
|
||||||
|
ExecSQL;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user