Acess a record anywhere
Posted: 12.08.2010, 21:14
how can i acess a record any where without moving the cursor.
for example :
cursor pos = 7 and i want to acess pos 6000000 without move the curso or use disable controls.
ex : im on pos 7 currently and buffercount = 100;
for aa:= 600000 to 6000010 do
begin
datalink.activerecord := aa;
getrecorddata();
end;
It is possible ??
I tried Tdatalink but didnt work or i use datalink.buffercount = dataset.recordcount ( witch is not good ) or i have prob getting values.
Thanks
SF
for example :
cursor pos = 7 and i want to acess pos 6000000 without move the curso or use disable controls.
ex : im on pos 7 currently and buffercount = 100;
for aa:= 600000 to 6000010 do
begin
datalink.activerecord := aa;
getrecorddata();
end;
It is possible ??
I tried Tdatalink but didnt work or i use datalink.buffercount = dataset.recordcount ( witch is not good ) or i have prob getting values.
Thanks
SF