Click or drag to resize

DbServer.FCount Property

X#
The number of fields in the server.

Namespace:  VO
Assembly:  VORDDClasses (in VORDDClasses.dll) Version: 2.19
Syntax
 VIRTUAL PROPERTY FCount AS USUAL GET 
Request Example View Source

Property Value

Type: Usual
The number of fields in the server.
Examples
This example uses FCount as the upper boundary of a FOR loop that processes the list of current work area fields:
X#
1CLASS Sales INHERIT DBServer
2...
3FUNCTION ListFields()
4LOCAL nField AS SHORTINT, oDBSales AS Sales
5oDBSales := Sales{}
6FOR nField := 1 UPTO oDBSales:FCount
7? oDBSales:FieldName(nField)
8NEXT
See Also