AdoServer:EoF

<< Click to Display Table of Contents >>

Navigation:  Dataservers > AdoServer Class > Properties >

AdoServer:EoF

Previous pageReturn to chapter overviewNext page

Purpose

Determine if row pointer is beyond the end of current file

 

Prototype

ACCESS EOF 

 

 

Data Type

 

LOGIC        TRUE if an attempt is made to move the pointer beyond the end of the current view/table. AdoServer:EOF also returns True if AdoServer: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 := AdoServer"Select * from Cust",...

DO WHILE oServer:EOF

    ? oServer:FieldGet('first_name')

    oServer:Skip(1)

ENDDO

 

 

See Also

AdoServer, AdoServer:Bof, AdoServer:GoBottom()