BtrvStepFirst

Prev Next Home Home Table Of Contents Index

BtrvStepFirst (DataVar,Handle)

BtrvStepFirst goes to the first 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)

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

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

See Also: BtrvStepLast BtrvStepNext BtrvStepPrev

Category: Btrieve

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home