I have the following code :
with qrySql do
begin
close;
sql.clear;
sql.add('select val1,val2,val3,a.* from a');
open;
while not eof do
begin
//here I do some calculations with the fields
//form table a and then I want to do the following :
val3 := val1 + integervalue;
//thus I want to do a update inside my select loop.
//how can I do that ? is it possible ? without using
//another table or query component ?
next;
end;
end;
with qrySql do
begin
close;
sql.clear;
sql.add('select val1,val2,val3,a.* from a');
open;
while not eof do
begin
//here I do some calculations with the fields
//form table a and then I want to do the following :
val3 := val1 + integervalue;
//thus I want to do a update inside my select loop.
//how can I do that ? is it possible ? without using
//another table or query component ?
next;
end;
end;