Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on Grid
Message
De
01/12/1997 14:52:03
 
 
À
30/11/1997 18:13:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00062795
Message ID:
00063111
Vues:
52
>>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 >
>> SELECT child
>> SET ORDER TO 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
>
>chu,
>
>did you try to 'select parent' back again at the end of the code? let me get it straight also : you have a parent grid and inside it, are cells of combo boxes bounded to a child table? that's a good idea but how sure are you information on the parent grid is updated when the combo box child is updated?
>
>regards,
>rostand

The grid works fine before I run the program. If I edit the combo box inside the grid, all information are updated accordingly. After that, when I click on the form again, the control return to the parent table automatically. However, once I run that code inside a command button, I can add a record and update the tables correctly. But after that, the control remains to the child table. I tried to add SELECT parent in the code, but it doesn't work. Should I add SELECT parent to somewhere in the grid or the combo box instead of inside the command button?


Regards,

Chu
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform