Kod: Tümünü seç
for i:=1 to 10 do
begin
DMoyunlar.IBQuery1.Close;
cumle:='update TBL_OYUNLARGECICI set ';
cumle:=cumle+'LANE=:d1,OYADI=:d2,P1=:x1,P2=:x2,P3=:x3,P4=:x4,P5=:x5,P6=:x6,P7=:x7,P8=:x8,P9=:x9,P10=:x10,P11=:x11,P12=:x12,P13=:x13,P14=:x14,P15=:x15,';
cumle:=cumle+'P16=:x16,P17=:x17,P18=:x18,P19=:x19,P20=:x20,P21=:x21,OYDRM=:d3 where ID='+IntToStr(i) ;
DMoyunlar.IBQuery1.SQL.Text:=cumle;
DMoyunlar.IBQuery1.ExecSQL;
DMoyunlar.IBTransaction1.Commit;
end;
ikinci dönğüde x1,x2 değeri boş olduğu halde ilk değerlerini tabloya kaydediyor nedeni ne olabilir acaba
IBTransaction1.Commit; ile CommitRetaining; ikisinide denedim olmadı
saygılarımla