ADO » Stream » EOS

Version: 2.5

Syntax:
boolean = streamobject.EOS

Returns a Boolean value indicating whether or not the current position is at the end of the stream.

The EOS property returns a Boolean value that indicates whether or not you are at the end of the stream. If True, you are at the end. If False, you are not at the end and additional bytes of data remain in the Stream beyond the current position.

You can determine your current position using the Position property and you can call the SetEOS method to designate the current position as the end of the stream.

Examples

Code:
If (objStream.EOS = false) Then
   objStream.SetEOS = objStream.Position
End If

See Also: