Hello everyone,
I have developed a search form that users can call within the active form by pressing Ctrl + F. The search form is composed of a combo box with the column names of the active form and a text box for the search criteria. I currently pass the name of the form and named of the field with code on the On Key Down of each column within the active form. I have also created a Menu Button that opens the search form for those users not using the Ctrl + F. How can I pass the name of the active form and name of the field where the cursor is when I press the menu button?
I need the form name and field name to generate the record source of the combo box. The underlying source of the combo box within the search form is a table with the name of the form and its columns.
Any help would be greatly appreciated.
Z
I have developed a search form that users can call within the active form by pressing Ctrl + F. The search form is composed of a combo box with the column names of the active form and a text box for the search criteria. I currently pass the name of the form and named of the field with code on the On Key Down of each column within the active form. I have also created a Menu Button that opens the search form for those users not using the Ctrl + F. How can I pass the name of the active form and name of the field where the cursor is when I press the menu button?
I need the form name and field name to generate the record source of the combo box. The underlying source of the combo box within the search form is a table with the name of the form and its columns.
Any help would be greatly appreciated.
Z