Code: Select all
ALTER PROCEDURE [dbo].[sp_izmenska_opravila]
@P1 int
AS
BEGIN
SET NOCOUNT ON;
SELECT * from IZMENE_OPRAVILA where IZMENA_ID=@P1
Code: Select all
procedure TForm10.cxButton3Click(Sender: TObject);
begin
DataModule2.IZMENE_OPRAVILA.ParamByName('p1').AsInteger:= strtoint(cxLookupComboBox1.Text);
DataModule2.IZMENE_OPRAVILA.Prepare;
DataModule2.IZMENE_OPRAVILA.ExecProc;
end;
Hitting the button again takes forever ...
Why is this ?
This is unidac 7.0.2 for Tokyo.