Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Re: Question on Grid
Message
De
28/11/1997 16:53:05
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Question on Grid
Divers
Thread ID:
00062795
Message ID:
00062795
Vues:
75
I have a question on the grid. I have a grid which has a combo box inside. The value of that combo box is bounded to the child table. I added a button to allow user to add a record to the child table. The code for that button is as follows.

SELECT child
SET ORDER TO unique_id

IF thisform.Grid.activerow==0
APPEND BLANK
thisform.Grid.activatecell(1,1)
thisform.Grid.setfocus
ELSE
thisform.Grid.activatecell(thisform.Grid.activerow,1)
thisform.Grid.setfocus
APPEND BLANK
ENDIF
REPLACE unique_id with parent.unique_id


However, after running that program, the child table remains the current data session. I cannot get the control back to the parent table. Do anyone know how the parent table can gain back the control?


Thanks.


Chu
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform