Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Try creating a cursor in Load event of your form containing that three
fields. Then in the InterActiveChange event of your combobox, your code will be something like this :
Select (cursorname)
Replace custid With this.List(ListIndex,1),;
custname With this.List(ListIndex,2),;
comments With this.List(ListIndex,3)
Thisform.Refresh()
The editbox is still the CurrentControl of the third column and the RecordSource of your grid will be the name of the cursor you created.
HTH
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