>Can you use EOF and BOF commands with views. My code reads:
>
>sele v_vendors
>
>do case
> case bof()
> **do something with navigation button
>
> endcase
>
>But nother happens. I'm sure I'm sitting on the first record in the table so therefor shouldn't BOF = .T.?
No.
USE SomeTable
GO TOP
?BOF( )
SKIP -1
?BOF( )
GO BOTTOM
?EOF( )
SKIP 1
?EOF( )
BOF( ) and EOF( ) can be useful for processing records with SKIP but other than that are pretty much useless.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up