Board index » delphi » Catch the print in aTADOCOMMAND

Catch the print in aTADOCOMMAND


2007-06-23 12:48:16 AM
delphi280
Hi.
I want to catch the PRINT value from a TADOCOMMAND.
Can I do that?
Please help me.
Christer Jansson
 
 

Re:Catch the print in aTADOCOMMAND

Hello, Christer!
You wrote on Fri, 22 Jun 2007 18:48:16 +0200:
C>I want to catch the PRINT value from a TADOCOMMAND.
C>Can I do that?
C>Please help me.
You have to set handler for TADOConnection.OnInfoMessage event.
Unfortunately, for some unknown reason it catch only one PRINT output per
each GO statement.
---
Andrew V. Fionik. SQL Maestro Group, www.sqlmaestro.com
Database administration, management and development tools for
Oracle, MS SQL Server, PostgreSQL, Firebird, MySQL, MaxDB, SQLite.