Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Try this in the init of your combo box:
>
>lcRowSource = "SELECT DESCRIPTION FROM Look INTO CURSOR MyCursor WHERE Look.Type = (This.pcType)"
>THIS.RowSource = lcRowSource
>THIS.Requery()<<<<<<<
Marcia, I tried this and it works great... I dont understand though why my original code did not work.. all you seem to be doing here is moving code to the init.
Also, I wonder if you could help me out in one other area. I need to be able to use a Fuction key to automatically get the combo to Drop down if hit (same as if I click on the down arrow). I used to code this in FPW26 with an 'ON Key Label' and am wondering how is the best place, and where to code this.
Thanks for your help,
Regards,
Gerard
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