refreshrecord method cause current record to change position
Posted: Thu 17 Jan 2013 13:20
Hi,
I have this Refresh SQL:
now when I call the this method tibcquery.refreshrecord;
the cursor jump to different record in the dbgrid. please advise how to make it remain in original record before refresh.
Thanks
I have this Refresh SQL:
Code: Select all
select
table1.pk1,
table1.f2,
table2.f_name,
from table2
right outer join table1 on (table2.pk1 = table1.pk1)
WHERE
pk1 = :pk1
the cursor jump to different record in the dbgrid. please advise how to make it remain in original record before refresh.
Thanks