Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>I have a listbox that has the following properties:
>
>ControlSource = None
>RowSource = 'SELECT oecname FROM sales!oec INTO CURSOR tmpEditOwnerName ORDER BY oecname'
>RowSourceType = 3-SQL Statement
>
>On the same form I have a command button that brings up another form that allows the user to add a name to the
>oec table. When the user exits the 'add' form he/she is returned to the form containing the listbox. My problem is
>that I am unable to update the listbox to contain the new record. I have tried both requerying and refreshing the
>listbox to no avail. What am I missing?
>
>Thanks in advance for your help,
>Russell Clendenon
Have you updated the oec table.
If you use buffering and the record is not saved with tableupdate, the control won't see the new value.
Normally you can requery the combo.
If that doesn't work you may try to requery the tmpEditOwnerName cursor
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