Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using eof()
Message
From
06/12/2005 10:12:07
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01075287
Message ID:
01075306
Views:
16
Terry

Thanks for the help. I got it to work using the two conditionals: if not eof() and if eof().

Gaylen



>>Terry
>>
>>What is the code in the cmdNext button? The previous button works fine.
>
>Select ( thisform.cpAlias)
>If not EOF()
>    Skip 1
>    If EOF()
>	go BOTTOM
>	This.Enabled		  = .F.
>	This.Parent.cmdLast.Enabled	  = .F.
>    Endif
>    With This.Parent
>      .cmdPrev.Enabled		  = .T.
>      .cmdFirst.Enabled		  = .T.
>    EndWith
>EndIf not EOF()
>Thisform.Refresh
>
>
>Regards
>
>Terry
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform