Information générale
Catégorie:
Codage, syntaxe et commandes
Okay, maybe I am missing my own point:
If form1.textbox1 has the focus, does form2 exist as an object already, or does the user need to do something to make form2 popup for an item lookup?
Ric
>When the user clicks on form2.
>
>>Hi Andrew,
>>
>>Question? Where and when does the lookup for (form2) get created?
>>
>>Ric
>>>What would be an effective and efficient way to branch code execution in the following scenario;
>>>
>>>Textbox1 on form1
>>>
>>>Lookup for possible values for textbox1 on form2
>>>
>>>If textbox1 is empty, abandon new record, *unless* form2 has gotten focus, ie: user wishes to lookup value for form1.textbox1 using form2.
>>>
>>>I already have the code for EMPTY(this.value) on form1.textbox1.lostfocus. Where could I test for form2.gotfocus()?
>>>
>>>Thanks in advance for any pointers.
>>>
>>>Andrew
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