Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How many rows are there in grid?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01290490
Message ID:
01290782
Views:
14
I use grids extensively. They are great for line item data entry (invoice line items, sales order line items, etc.). They more closely simulate the paper-based forms people are used to and make quick work of entering line items (as opposed to a technique some here have espoused that makes the user do the editing for a line item in a separate form, which means opening and closing and opening and closing this form all the time). Not using the grid implies VFP can't handle a common task that other languages handle well. That's simply not true. I've always found the grid does what I need it to do for my customers and I don't feel I'm compromising. Sure, there are other grids that do more, but it's like all the tons of features in Word - you really don't use most of them most of the time. And now Fabio has demonstrated via his sample code what we all should know . . . with VFP there's always a way. He has given you a great solution to your question and it can be incorporated into your grid class.

>I can't do that.
>I must use SET DATASESSION for that to access that alias in that (first) form.
>If I do that then in second form (from which I want to do scroll) grid losses data.
>Damn grids :) Worst control in VFP.
>
>>Just do a GO BOTTOM on the alias.
>>
>>>With alias.
>>>I am asking that because I need to just do scroll to last row from another form.
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform