Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Filling grid completely
Message
 
 
À
14/09/2015 09:38:06
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01624580
Message ID:
01624589
Vues:
50
>>Hi,
>>
>>I have a grid bound to a cursor. The grid has about 15 rows. The cursor - almost always has more rows (20+). Before displaying the form with this grid the record pointer is moved to the last one (GO BOTTOM). When the grid is displayed the last record of the cursor is displayed in the 1st row of the grid. The rest of the grid rows are empty. Therefore, user has to scroll down to fill out the grid. How can I (in code) make sure that the entire grid is filled with the cursor, before displaying the form?
>>
>>TIA.
>
>Why are you moving to the bottom of the cursor before displaying it then?
>
>If you want the grid to be filled, GO TOP instead. Or reverse your sort order. Or SKIP -15.

Thank you for you suggestion.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform