SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎DBCreator Object‎ > ‎

DBCreator.GetFieldCount


Platform Objects


Description

Returns the number of fields present in the record set.  Select must be called prior to making calls to this method.


Syntax


Function GetFieldCount


Parameters


none


Return value


integer - the number of fields in the database


Example

Sample code

Dim f_count
If DB.Select() Then 
   f_count = DB.GetFieldCount() 
End If 

See also

Platform Objects and Methods
DB.sort
DB.Select
DBCreator.GetFieldDefinition