CTI Client events (ActiveX)

OnSQLData

Contents  Back  Next

Answers an SQL query.

 

Event OnSQLData(

 ULong dwRequest,

 Long lCount,

 String bstrData

)

Parameters

dwRequest

Number of the request, which was initiated with SQLBegin

 

lCount

Number of data records returned. 0 means no records were found. –1 means the query failed.

 

bstrData

Text with the queried data.

 

Remarks

This event is always sent when data are queried using SQLBegin or SQLNext The data may arrive in XML format or as text. The query may fail when the query has already been terminated or when all the data have already been read.

 

Example

Database query

 

See also

Events overview | SQLBegin | SQLNext

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.