Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi,
I have a form with a ListBox called List1 and a TextBox called LastName .
The ListBox is linked to a table with 300 records and shows lNames -- from a - z -- and incremental search is on.
When I select the Listbox and type a letter of the alphabet, the ListBox jumps to the first lname starting with that letter. So far so good.
Now,
I want to have that lName appear in the TextBox when I select a name and then double click on it.
So, in the form Designer, with list1, I right clicked, then chose code, then DoubleClikc, and then tried to enter the following, neither of which worked:
thisform.LastName.Value = thisform.list1.Value
_screen.activeForm.LastName.Value = _screen.activeForm.list1.Value
I I select and then try to execute the lines, I am told that thisform and activeform can't be used. How can I refer to the material in a form then?
Can anyone help with this?
Thanks
Steve
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