Skip to content

Server_File - BaseData_Set

Returns the number of the table at the passed in position in this object's server-file list

Type: Property
Access: Read-Only
Data Type: Integer
Parameters: None

Parameters

Parameter Type Description
iItem Integer Position of the table to return (0-based)

Syntax

Property Integer Server_File
Access Type Syntax
Read Access: Get Server_File to IntegerVariable

Description

Server_File returns the table number of the table at position iItem in this object's server-table list.

Sample

Procedure RemoveServerFileSettings
    Handle hoServer
    Integer iServers iTableNum

    Get Server To hoServer
    If (hoServer > 0) Begin           
        Get Server_File_Count Of hoServer To iServers

        While (iServers > 0)
            Decrement iServers
            Get Server_File Of hoServer iServers To iTableNum
            Send Remove_Server_File Of hoServer iTableNum
        Loop
    End
End_Procedure