Subject | Conversion tips: SelectedRows and GotoBookMark |
---|---|
Author | ej_siqueira |
Post date | 2006-07-27T23:42:37Z |
Hi All
I'm converting now an application from paradox to Firebird with IBO
and i've some problems like this above.
anybody cans give me a way to convert this code?
iCounter := 0;
sLocal := '';
while vCounter <= DBGrid1.SelectedRows.Count - 1 do
begin
qryLocal.GotoBookmark(TBookMark(DBGrid1.SelectedRows[vCounter]));
local := qryLocal.FieldByName(CODLOC).Asstring;
Inc( vCounter );
end;
it's report an error in instructions SelectedRows and GotoBookMark
after convert TDBGrid and TQuery to TIB_Grid and TIB_query.
Thanks for some help and tips.
Evandro Siqueira
Aracaju - Brazil
I'm converting now an application from paradox to Firebird with IBO
and i've some problems like this above.
anybody cans give me a way to convert this code?
iCounter := 0;
sLocal := '';
while vCounter <= DBGrid1.SelectedRows.Count - 1 do
begin
qryLocal.GotoBookmark(TBookMark(DBGrid1.SelectedRows[vCounter]));
local := qryLocal.FieldByName(CODLOC).Asstring;
Inc( vCounter );
end;
it's report an error in instructions SelectedRows and GotoBookMark
after convert TDBGrid and TQuery to TIB_Grid and TIB_query.
Thanks for some help and tips.
Evandro Siqueira
Aracaju - Brazil