Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to read the last record ?
Message
 
To
24/01/2002 23:03:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00610290
Message ID:
00610319
Views:
16
In Init method of Form:

If the table is sorted somehow:
SELECT (YourTable)
GO BOTTOM
thisform.TableLastRec = RecNo()

If the table is not sorted somehow:
thisform.TableLastRec = RecCount("YourTable")


In AfterRowColChange method of Grid

IF RecNo("YourTable") == thisform.TableLastRec
....
ELSE
....
ENDIF


HTH
Boris
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform