Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to find which record shows first in a grid
Message
 
 
À
10/10/2012 13:47:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01554683
Message ID:
01554704
Vues:
47
I also guessed that most likely Alejandro meant the first 'visible' row in the grid, but this is not what he asked, therefore the answers he got were correct for the question asked (not the question meant).


>>>>>Both your methods find the first recno() in the table depending on the current index order, but it's not what Alex asked for....! He wants the recno() of the top visible record in the grid.
>>>>
>>>>
>>>>
>>>>Are you sure?
>>>
>>>Yes, unless my ability to understand English (and Alejandro) has broken down completely.
>>
>>It's completely fine, for all grids where first row is the top row. Now the question isn't precise in this sense - first row of the grid's recordsource (by no order or current order), or the first visible row?
>
>As I understand the question, Alejandro wants to find the recno() of the first visible row, no matter how far down in the table he has scrolled.
>
>NB! Did I mention that I have telepathic abilities? :-)
>
>>I can see Alejandro banging his head on the wall, for being unable to prevent what he knew would happen... :)
>>
>>>>The question was:
>>>>>>>Is there a way to find which record shows in the first row of a grid?
>>>>
>>>>Now, I'm not sure that I answered properly :-)
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform