VB6 DataCombo - how to select certain entry programmaticaly?
Hi!
I'm looking for a way to select a specific entry in the DataCombo control in
VB 6. I'm using it to display and modify the SQL Server data.
So, If the user wants to see a certain record, say Customer Profile, I would
like to have my program automatically select the right entry from Provinces
in the DataCombo box.
Right now what I'm doing is using setFocus method on DataCombo, and then use
SendKeys "{down}" to get to the desired record.
If anyone knows a better way to do this ,PLEASE let me know...
There must be a better way.
Thank you
Damjan