How to get the text results after query execution

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
brace
Posts: 213
Joined: Wed 14 Feb 2007 08:26

How to get the text results after query execution

Post by brace » Tue 27 Oct 2009 12:11

i am trying to have the

(n) rows affected (or error)

mesage I can see in management studio when running a query (or using the out file of osql.exe).

is there a method in TMSQuery to retrieve this?

Dimon
Devart Team
Posts: 2885
Joined: Mon 05 Mar 2007 16:32

Post by Dimon » Tue 27 Oct 2009 13:02

Use the TCustomDADataSet.RowsAffected property.

Post Reply