Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using eof()
Message
From
06/12/2005 10:04:35
 
 
To
06/12/2005 10:01:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
01075287
Message ID:
01075302
Views:
19
>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
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform