Hi everyone,
So I have a form that has three combo boxes, namely "cboLOB" "cboDescription" and "cboStatus". The form's name is "Form", if that's of importance here. The three combo boxes are in descending order and based on the value from one, the appropriate range of values appear in the next box.
I'm all but finished with this form but need to add one last final step that I can't figure out (the most important one funny enough). I want to put a button that runs a VBA code (or macro) to read the values from the 3 combo boxes and reads the main data table to get the 4th value in a message box. How do I go about creating this?
To clarify how this would work, I have a list of all possible combinations in a table called "AllData". Whatever they enter in cboLOB is in Column A, cboDescription in Column B, and cboStatus in Column C. These three values would allow me to target a unique row and output the value in Column D in a message box (which is just YES or NO.)
Any help is very much so appreciated!
So I have a form that has three combo boxes, namely "cboLOB" "cboDescription" and "cboStatus". The form's name is "Form", if that's of importance here. The three combo boxes are in descending order and based on the value from one, the appropriate range of values appear in the next box.
I'm all but finished with this form but need to add one last final step that I can't figure out (the most important one funny enough). I want to put a button that runs a VBA code (or macro) to read the values from the 3 combo boxes and reads the main data table to get the 4th value in a message box. How do I go about creating this?
To clarify how this would work, I have a list of all possible combinations in a table called "AllData". Whatever they enter in cboLOB is in Column A, cboDescription in Column B, and cboStatus in Column C. These three values would allow me to target a unique row and output the value in Column D in a message box (which is just YES or NO.)
Any help is very much so appreciated!