Switch Focus between 2 Forms
I have the following question and thanks for any suggestion.
- There are 2 forms, Form 1 and Form 2,
- A combo box and a button are on Form 1
- After selecting a code from the combo box, click button
- Form 2 is opened with data which is retrieved from database and related to the code selected. The data is shown on the tabular format.
What I have to do is:
- Click to data on a table cell of Form 2.
- The focus switches to the combo box of Form 1, the data which is in the combo box and should be highlighted
How to make to work?
Thanks in advance for help!
Lx
|