Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to force grid to show more than one latest record
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01176119
Message ID:
01176173
Views:
12
>Hello,
>
>Lets say I have a lot of records in the table which I want to show in the grid.
>I want following:
>- grid will show all last records in the table (other records will be able to access using scrollbar)
>- active record should be latest record.
>
>My problem is:
>if I will make "GO BOTTOM" then grid will show only the most last one - other records will be not shown and grid will look empty... while I want to fill all grid with data. Is it clear what I want?
>
>Thanks in advance

Like Ed stated, the DoScroll() to page up, may actually hide the last record. You may want to just to multiple SINGLE ROW AT A TIME

DoScroll(0)

Depending on how many visible rows in your grid, plus where the default refresh of a grid puts your records. On a table I tried with more rows than the grid had visible, the last record actually was displayed about the middle of the grid, so I was able to see SOME records in addition to the last one.
Previous
Reply
Map
View

Click here to load this message in the networking platform