Strange TOraQuery behaviour
Posted: Mon 27 Jun 2005 21:44
Delphi 7 Pro SP1, ODAC 5.55.0.19, SDAC 3.55.0.15
I'm running a conversion program from Pervasive to either Oracle or MSSQL. Everything works fine except for one thing:
All errors get logged to a memo component (memo2) which is also written to disk with memo2.lines.savetofile(). After copying records to Oracle and creating the indexes for a table using a TOraQuery then if a duplicate index error occurs then (and only then) the TOraQuery in question raises an error, the try except catches it but the memo does not get updated on screen but after saving the same memo to disk it only contains the errormessage that is not shown on screen?? The strange thing is the fact that we are talking about the same memo-component. When copying/ndexing the same data with the same logic to MSSQL everything works as expected (the memo on screen matches the log on disk).
Switching back to 5.50.0.18 does not change the error.
regards,
Martin
I'm running a conversion program from Pervasive to either Oracle or MSSQL. Everything works fine except for one thing:
All errors get logged to a memo component (memo2) which is also written to disk with memo2.lines.savetofile(). After copying records to Oracle and creating the indexes for a table using a TOraQuery then if a duplicate index error occurs then (and only then) the TOraQuery in question raises an error, the try except catches it but the memo does not get updated on screen but after saving the same memo to disk it only contains the errormessage that is not shown on screen?? The strange thing is the fact that we are talking about the same memo-component. When copying/ndexing the same data with the same logic to MSSQL everything works as expected (the memo on screen matches the log on disk).
Switching back to 5.50.0.18 does not change the error.
regards,
Martin