Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement