Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid freshing again
Message
De
27/09/1999 11:58:52
 
 
À
27/09/1999 11:49:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00269414
Message ID:
00269419
Vues:
19
Sounds to me like you have the Order set to the table that is the source of the grid. So, when you add a blank record the grid is scrolling in such a way as to prevent the other records from showing without manually scrolling. Try getting rid of the index order.


>I have a simple parent/child one-to-many entry form. The child records enter using a grid. The grid's viewable row is 8, but when I enter records in the grid, only one record is shown at a time, the very first row. Example, if I entered line 1, the grid showns line 1 (correct up to this point), and when I enter line 2, the grid only display line 2, and when I enter line 3, display only line 3 etc... What the correct behaviour is that it should display ALL line 1, line 2 and line 3 in the grid.
>
>If I do a browse on the parent table, the grid immediately refresh and display the data correctly. But of-course I couldn't let my users do this.
>
>I've tried setting:
>
>1. thisform.grid.refresh()
>2. set focus to any object before refreshing the grid
>3. thisform.grid.recordsource = space(0)
> thisform.grid.recordsource = orginal value
>
>All but still the same result. I've encounter this problem many times before and have been able to solved it, but not this time. Anyone have any ideas??? Thank you for your help!!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform