I have just upgraded to SDAC 6.9.18
when I open my application the routine beforeupdate below no longer works
I get undeclared Identifier 'stDelete'
procedure TFBookPallets.MSPalletDetailBeforeUpdateExecute(
Sender: TCustomMSDataSet; StatementTypes: TStatementTypes;
Params: TMSParams);
begin
try
if stDelete in StatementTypes then begin
Params.ParamByName('Result').ParamType := ptOutput;
Params.ParamByName('Result').DataType := ftInteger; // Field 'Result' does not present in Sender, so we need to set DataType manually
end;
Regards
Malcolm Laws
StatementTypes
Re: StatementTypes
Hello,
To solve the problem, you should add the DASQLGenerator module to the Uses section.
We will change this behavior in the next SDAC build, so there will be no need to add the DASQLGenerator unit to the USES clause.
To solve the problem, you should add the DASQLGenerator module to the Uses section.
We will change this behavior in the next SDAC build, so there will be no need to add the DASQLGenerator unit to the USES clause.