BtrvStepLast

Prev Next Home Home Table Of Contents Index

BtrvStepLast (DataVar,Handle)

BtrvStepLast goes to the last physical record of the file and reads the record into DataVar. DataVar is a MarxMenu variable and the data read creates an array of the fields stored on disk.


Example:
Var Fields, Handle, DataVar ReadAscTextFile('FIELDS.TXT',Fields) Handle = BtrvOpen('BBSUSER.BTD',Fields)

BtrvStepLast(DataVar,Handle) while BrtvResult = 0 loop DataVar Write LoopVal ' ' endloop Writeln BtrvStepPrev(DataVar,Handle) EndWhile

This example dumps the contents of a file to the screen backwards.

See Also: BtrvStepFirst BtrvStepNext BtrvStepPrev

Category: Btrieve

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home