BtServer:Eof Access

 

<< Click to Display Table of Contents >>

Navigation:  Server Classes > BtServer Class >

 

BtServer:Eof Access

 

Previous pageReturn to chapter overviewNext page

 

Purpose

 

 

Determine if row pointer is beyond the end of current file

 

 

 

Prototype

 

 

ACCESS Eof CLASS BtServer

 

 

 

Return

 

 

LOGIC                TRUE if an attempt is made to move the pointer beyond the end of the current

                 view/table. BtServer:EOF also returns True if BtServer:Seek() results in no records found

 

 

 

Description

 

 

Works similarly to the DbServer EOF() function. As with DbServers , the end of file is determined by the current index order.

 

 

 

Example(s)

 

 

 * List all first names

 oServer := BtServer"patients.dta"...

 DO WHILE oServer:Eof

    ? oServer:FieldGet('first_name')

    oServer:Skip(1)

 ENDDO

 

 

 

 

See Also

 

 

BtServer, BtServer:Bof, BtServer:GoBottom()