WarningFlags

al0

Member²
Hi,

I'm just wondering why TOracleDataset doesn't expose WarningFlags from embedded TOracleQuery?
 
The WarningFlags are quite low-level and not really related to dataset functionality. You might consider using a TOracleQuery for the SQL statements for which you are interested in the WarningFlags.
 
The problem is that I don't know in advance wich type of statement woud be executed in my dataset,
it perfectly may be query and compilation of stored procedure or force creation of a view alike. And in later 2 cases I don't know how to notice compilation error without analysing of a WarningFlags. Definitely, I can make a small change to Oracle,pas to implement this functionality myself (at least in simplified form to have proper WarningFlags after ExecSQL as they are not very relevant to Open) but I don't likethis idea very much.

:eek: BTW, concerning changes in source code, I have slightly changed OracleLogon.pas to allow it properly adjust Logon dialog to images, higher than GroupBox in thos dialog (original code causes cliping of image top). Do you wish this change?
 
Originally posted by al0:
BTW, concerning changes in source code, I have slightly changed OracleLogon.pas to allow it properly adjust Logon dialog to images, higher than GroupBox in thos dialog (original code causes cliping of image top). Do you wish this change?
If it is a general improvement: by all means.
 
Don't joke me, it is absolutely minor (something like 2 lines of code), but has one big advantage - it already exists. ;)
 
Back
Top