CTI Client SQL functions (ActiveX)

SQLNext

Contents  Back  Next

Continue SQL query.

 

Function SQLNext(

 ULong dwRequest,

 ULong dwCount,

 BoolPtr pbSuccess

)

Parameters

dwRequest

Query ID

 

dwCount

Maximum number of data records

 

pbSuccess

Return value. True on success.

 

Remarks

Continue a query which was started using SQLBegin, supply the query ID returned from SQLBegin as the parameter. The maximum number of data records should be limited to the number which can be processed in a reasonable time frame. Each call to SQLNext extends the query lifetime. If the client is not logged on to the database, the function fails and returns False.

 

Example

SQL sample

 

See also

SQL overview | OnSQLData

 


Send feedback to TAPIMaster®

© 2020 Tino Kasubke. All rights reserved.