DbServer.FCount Property | |
The number of fields in the server.
Namespace:
VO
Assembly:
VORDDClasses (in VORDDClasses.dll) Version: 2.21
Syntax VIRTUAL PROPERTY FCount AS USUAL GET
public override Usual FCount { get; }
Request Example
View SourceProperty Value
Type:
UsualThe 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:
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