sql.add('insert into PSIRA.LAB_DETAIL ');
sql.add('(SAMPLE_NBR, PROPERTY ) values ');
sql.add('('''+sampNbr+''',''Visual'') ');
query1.Execute ;
end; // if not EOF
end; // with Query1
// Add commit code here
with query1 do begin
close;
sql.clear;
sql.add('Commit');
end;
query1.Execute;
Why EXACTLY do I need to do the commit? I was using the DOA3.2 with Delphi 3 and their seemed to be NO problem. We upgraded from Oracle 7.3 to Oracle 8.05, installed the new DOA3.3 and I had to add the code about the commit to get things to work..... I am missing the boat on what is going on with the inserts/commits/ etc.... can you please help me understand?
Or maybe what I did will not help my locking problems!!!
Please help me get a clue!
------------------
Lisa Cottrell
sql.add('(SAMPLE_NBR, PROPERTY ) values ');
sql.add('('''+sampNbr+''',''Visual'') ');
query1.Execute ;
end; // if not EOF
end; // with Query1
// Add commit code here
with query1 do begin
close;
sql.clear;
sql.add('Commit');
end;
query1.Execute;
Why EXACTLY do I need to do the commit? I was using the DOA3.2 with Delphi 3 and their seemed to be NO problem. We upgraded from Oracle 7.3 to Oracle 8.05, installed the new DOA3.3 and I had to add the code about the commit to get things to work..... I am missing the boat on what is going on with the inserts/commits/ etc.... can you please help me understand?
Or maybe what I did will not help my locking problems!!!
Please help me get a clue!
------------------
Lisa Cottrell