Hello there!
I have to check whether a selcet-statement via an TOracleQuery is "opened" or not. Since TOracleQuery ha sno "active" property the only way to achive this I found is to implement an try-except block. Within that I try to access a field of the query. If the TOracelQuery is open everthing is fine. If not, an exception is raised so that I can do in the exception part what is neccesary to open the query.
Some other ideas?
Thanks in advance,
Klaus
I have to check whether a selcet-statement via an TOracleQuery is "opened" or not. Since TOracleQuery ha sno "active" property the only way to achive this I found is to implement an try-except block. Within that I try to access a field of the query. If the TOracelQuery is open everthing is fine. If not, an exception is raised so that I can do in the exception part what is neccesary to open the query.
Some other ideas?
Thanks in advance,
Klaus