Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't make grid show newly added record
Message
 
À
04/08/2007 14:20:55
Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01245963
Message ID:
01245967
Vues:
16
>I have a grid on a form. I activate another form to allow for adding a new record to the underlying table. After saving the record I issue a form.refresh to update the grid.
>
>My problem is that the record, although there, is not visible in the grid. I have to scroll the grid in order to see it. Once I scroll, it is already highlighted. Is there anyway to have the grid automatically have this new, highlighted record showing without having to scroll? As you can see, users could easily get the impression that their new record was not saved because they don't see it in the grid.
>
>TIA
>Mike

If the new form is modal you could return PK of the new record, then in Parent Form you could SEEK returned value and refresh the grid.
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform