StatementTypes
Posted: Mon 10 Mar 2014 14:54
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
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