Click or drag to resize

DbServer.FCount Property (Typed)

X#
The number of fields in the server.

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

Property Value

Type: DWord
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