Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid not displaying even after the recordsource trick
Message
De
14/09/1999 11:01:26
Elyse Pomerantz
Dynamic Data Concepts, Inc.
Brooklyn, New York, États-Unis
 
 
À
13/09/1999 16:21:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00264196
Message ID:
00264464
Vues:
24
>we start off with an empty table and a grid form.
>
>To add a record to the grid, the user hits the 'add/edit' button and this runs a form which lets them add a record and enter the data with the all the space they need and the validation I can put on a form much more easily than in a grid.
>
>However, when the form is closed and we return to the grid form, all we see is a blank record. (so at least it 'knows' that we've added one - it just won't show the values)
>
>The debugger tells me that we have successfully added the record and that its values are as entered.
>
>This despite doing a [jgrid.recordsource='' ] BEFORE running the add/edit form and a
>[jgrid.recordsource="journal" ] and a form refresh, after the add/edit form has done its thing...
>
>so why no show?
>
>Harry

I recently solved a similar problem by making sure to SetFocus away from the grid before refreshing it. As long as Focus was on the grid it wouldn't refresh.
Elyse Pomerantz
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform