Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid and command button to append new record
Message
 
 
À
13/06/2002 12:12:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00668028
Message ID:
00668406
Vues:
24
This message has been marked as the solution to the initial question of the thread.
Hi!

You have to do this in AfterRowColChange event. Grid does not reflect current record in alias when something changed in LostFocu event of the control. When record pointer is changed in AfterRowColChange event, grid reflects it.

>Hi
>
>In my form , Data Sesion is private .
>
>I have a grid , and a command button to append new records into grid .
>
>when i click in this command button all works ok .
>
>But , i whish append a new record in grid , when i complete all collumns .
>So , in text , in last collumn ,in LostFocus event
>
>
>
>ThisForm.PageFrame1.Page1.CNovLinha.Click	
>
>
>This append a new record , but the table and grid , stay in record previous , and not in new record .
>
>I whish that , table and grid go to new record .
>
>thanks
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform