begin
Try
Screen.Cursor :=crHourGlass;
Proc := TmyStoredProc.Create(self);
Proc.Connection := MyConnection1;
Proc.StoredProcName := 'H_CALC';
Proc.Params[0].asString := 'WO000345'
Proc.Prepare;
Proc.ExecProc;
Finally
Proc.Free;
Screen.Cursor := crDefault;
End;
If assign to tMyStoredProc Components all is Ok but if I assign StoredProcName at runtime nothing