判断存储过程
This commit is contained in:
parent
def92b203f
commit
87da435326
|
@ -348,6 +348,7 @@ begin
|
||||||
begin
|
begin
|
||||||
fWindowDesign.FormStyleInit10(self, fFormId, ADOQueryBaseTemp, ADOQueryBaseCmd, '', fParameters10);
|
fWindowDesign.FormStyleInit10(self, fFormId, ADOQueryBaseTemp, ADOQueryBaseCmd, '', fParameters10);
|
||||||
end;
|
end;
|
||||||
|
//
|
||||||
if dxLayoutControl_query.Tag<>999 then
|
if dxLayoutControl_query.Tag<>999 then
|
||||||
readLayOut(dxLayoutControl_query,ADOQueryBaseTemp,PWideChar( fDllFileName+'|'+self.name+'|'+dxLayoutControl_query.Name+'.ini'));
|
readLayOut(dxLayoutControl_query,ADOQueryBaseTemp,PWideChar( fDllFileName+'|'+self.name+'|'+dxLayoutControl_query.Name+'.ini'));
|
||||||
fWindowDesign.fProcedureName:=fProcedureName;
|
fWindowDesign.fProcedureName:=fProcedureName;
|
||||||
|
@ -365,6 +366,8 @@ end;
|
||||||
///
|
///
|
||||||
procedure TfrmDetailBaseList.initGrid();
|
procedure TfrmDetailBaseList.initGrid();
|
||||||
begin
|
begin
|
||||||
|
if fProcedureName='' then exit;
|
||||||
|
|
||||||
if fQueryType='criteria' then
|
if fQueryType='criteria' then
|
||||||
begin
|
begin
|
||||||
doQueryByCriteria() ;
|
doQueryByCriteria() ;
|
||||||
|
|
|
@ -357,6 +357,8 @@ end;
|
||||||
///
|
///
|
||||||
procedure TfrmQryBaseList.initGrid();
|
procedure TfrmQryBaseList.initGrid();
|
||||||
begin
|
begin
|
||||||
|
if fProcedureName='' then exit;
|
||||||
|
|
||||||
if fQueryType='criteria' then
|
if fQueryType='criteria' then
|
||||||
begin
|
begin
|
||||||
doQueryByCriteria() ;
|
doQueryByCriteria() ;
|
||||||
|
@ -366,5 +368,6 @@ begin
|
||||||
frmFrameDateSel1.jqModel.Checked:=true;
|
frmFrameDateSel1.jqModel.Checked:=true;
|
||||||
doQuery() ;
|
doQuery() ;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user