|Subject||Re: [IBO] tib_grid display on query rerun|
> I wrote the code asI´m going to give my suggestion:
> if active then begin
> ParamByName('P_ID').AsInteger := CustId;
> else...//query not open
> I occasionally get an AV when it executes the ParamByName statement.
> The AV appears to occur in the IBA_Column.IMP unit in the
> TIB_ColumnInteger.SetValue function. I can probably live with it with
> a silent exception, but do you think my code is correct? Thanks.
Do you can use:
SQL: qry1='Select * from table1'
On Prepare SQL:
if condition1 then
else if condition2 then
On event on Click of radio group do: