| 4D v18ODBC_SQLSetDescField | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | 
    4D v18
 ODBC_SQLSetDescField 
         | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ODBC_SQLSetDescField ( connectionID ; recNumber ; fieldIdentifier ; valuePtr ) -> Résultat | ||||||||
| Paramètre | Type | Description | ||||||
| connectionID | Entier long |   | Connection ID | |||||
| recNumber | Entier long |   | Descriptor record number | |||||
| fieldIdentifier | Entier long |   | Field of the descriptor whose value is to be set | |||||
| valuePtr | Pointeur |   | Pointer to the value to set fieldIdentifier | |||||
| Résultat | Entier long |   | Returns the result of the MS ODBC API function SQLSetDescField | |||||
The ODBC_SQLSetDescField command sets the value of a single field of a descriptor record.
connectionID is a valid connection ID returned by ODBC_SQLAllocConnect and a connection must be established using the ODBC_SQLConnect command.
Descriptor records are numbered from 1, with recNumber equal to 0 being the bookmark record. The recNumber argument must be less than or equal to the value of SQL_DESC_COUNT. If recNumber is less than or equal to SQL_DESC_COUNT but the row does not contain data for a column or parameter, a call to ODBC_SQLSetDescField will return the default values of the fields.
recNumber is the descriptor record number.
fieldIdentifier is the field of the descriptor whose value is to be set.
valuePtr is a pointer to the variable to set fieldIdentifier.
For more information, please see the SQLSetDescField function in the MS ODBC API Reference at http://msdn.microsoft.com/en-us/library/ms713560(VS.85).aspx.
SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.
	Produit :  4D
	Thème :  ODBC_Results
	Numéro :  
        16950
        
        
        
	Nom intl. :  ODBC_SQLSetDescField
	Créé :  4D ODBC Pro 2004
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	
	4D ODBC Pro ( 4D v18)
	
	
 Ajouter un commentaire
Ajouter un commentaire