Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of Maximum Rows in a Grid
Message
 
 
To
29/10/2001 17:36:13
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00574272
Message ID:
00574846
Views:
24
>>>I don' find any property in a Grid to tell me the number of all rows in a
>>>grid I can move up and down. Any idea?
>
>>I don't know this property either, but you can calculate it: (grid.height-
>>header height)/(rowheight+linesheight (don't know, how it called, you can
>>neglect it, since it's small))
>
>Sorry, I don't mean this number of rows, I mean number of ALL rows in the grid (not only rows which are visible in a scrollable area of a grid). With other words: I'd like to know if the current row position is a bottom of the grid.

You can check if you an eof() or not. You also can compare recno(this.recordsource) with reccount(this.recordsource), but this works for not filtered grids and if there aro no deleted records or set deleted off.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform