General information
Category:
Forms & Form designer
>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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only