DbServer.FCount Property (Typed) | |
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
public override uint FCount { get; }
Request Example
View SourceProperty Value
Type:
DWordThe 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