AZMY
Thinkware, Inc
General Order FormSupport CenterSearch this web siteAbout Azmy

 

DM API Online help

 

SQReadODBCData Function


The SQReadODBCData function reads data using the ODBC into the API data set.

Syntax

int SQReadODBCData(      


   const char* szODBCConnString,
  const char* szODBCSqlString
);

Parameters

szODBCConnStrin

[in] The connecting string used to connect to the ODBC data source.

szODBCSqlString

[in] The SQL string used to retrieve data form the data source.

Return Value

Number of rows read into the API data set.

Remarks

SQReadODBCData Use this function to read data using ODBC. Make sure you have your data added to the Data Sources (ODBC) and provide both connection string and the SQL string.

Example

See example 4

 

 

Copyright © 1996 - 2007 AZMY Thinkware Inc. All rights reserved.