4D v16ODBC_SQLFetch |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v16
ODBC_SQLFetch
ODBC_SQLFetch
The ODBC_SQLFetch command fetches the next rowset of data from the result set and returns data for all bound columns. For more information, please see the SQLFetch function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms712424(VS.85).aspx. SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_NO_DATA, SQL_STILL_EXECUTING, SQL_ERROR, or SQL_INVALID_HANDLE. The following method selects all the records from the Employee table, ccreates a bind with our data source's Employee table and its four fields specified by the ODBC_SQLPrepare and ODBC_SQLBindCol commands, and then creates one record for each row of data in the 4D table [Employees]: $result:=ODBC_SQLPrepare($statementID;"SELECT * FROM Employee")
参照
|
プロパティ
プロダクト: 4D
履歴
初出: 4D ODBC Pro 2004 ARTICLE USAGE
4D ODBC Pro ( 4D v16) |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||