Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid freshing again
Message
De
27/09/1999 11:49:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Grid freshing again
Divers
Thread ID:
00269414
Message ID:
00269414
Vues:
55
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!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform