>>>If combo.rowsource is fields or alias, then you check rowsource field values in current record, or to feel safer you can:
>>>
>>>IF SEEK(thisform.combo.value,"clients","id")=.T.
>>> nClientId=clients.id
>>>ENDIF
>>>
>>------------------------
>>Thank you for your input. I ended up using a select into a cursor for my rowsource, because I needed this combobox ordered by the client name...the rest of the form was based on the client ID....so I get the info I needed by temp.client_ID...
>>
>>Rick
>
>Yes, it's right way. Just one minor thing to get 100% guaranteed result: add This.Value=This.Value to Combo.LostFocus
----------------------
Ok. I did as you reccomended and it works....It seems to work the same as before...what is the significance to the
This.Value = This.Value
?? Why did you reccomend it?
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