Information générale
Catégorie:
Codage, syntaxe et commandes
>>>I am populating a drop down combo from a query with a customer ID code to a cursor. At every location, there is a customer code of "CASH-"+locationcode. Is there any way to make the drop down default to the "CASH-"whatever ID in every case?
>>
>>Did you try Thisform.ListBox1.Value = "CASH-"+locationcode in every case?
>>
>>>Thanks
>>>
>>>Jim
>
>Jess,
>
>Er, actually, no. I did try .value="CASH" in the combo's init with zero results. I'll cobble together the complete string and give it a go.
>
>Thanks.
Well, no luck with either the form's on the combo's init. Could this be bcause of when the query is run? Would the InteractiveChange be a better place to set the .value? I am still very weak on the event sequence on this form. Any more ideas would be greatly appreciated.
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