Subject TIB_SearchPanel.GridLinks & Prepared Query problem...
Author Dmitry Beloshistov
Hello, All !

I am use one TIB_SearchPanel for different sql statement...
Sample code:
{ manipulation with TIB_SearchPanel.GridLinks }
Q.sql.add(' sql statement 1 ');
Q.Prepare; Q.Open;
Q.Close; // but not Unprepare!
{ begin manipulation with TIB_SearchPanel.GridLinks}
TIB_SearchPanel1.GridLinks.Clear; // OK!
TIB_SearchPanel1.GridLinks.Add('SOMEFIELD'); // Exception "Field not
found!" ;(((((

Buf if I do after Q.Close Q.Unprepare - All OK!

I see, what call FieldByName(..) for CLOSED query in manipulation with
GridLinks is not very good method ;(((

2Jason - it`s bug? Or I must always call Unprepare method
(TIB_Grid.GridLinks work success with Prepared or Unprepared queryes)...

WBR, Dmitry Beloshistov AKA [-=BDS=-]
e-mail: torin@...