wbwalsh
IS-IT--Management
- Nov 29, 2004
- 3
Note: DataGridView is not used in this project.
Form1 is bound to table tbl_Offenders (MS Access DB). Form2 is bound to table tbl_Vehicles (MS Access DB). Form1 has a button that opens Form2 as ShowDialog. Currently when Form2 opens all records are showing in a combo box. Form2 functions correctly (add, delete, edit, scroll, etc.). The problem is that I need Form2 to open with filtered records. Form2 needs to open showing only the records where the ID field (txt_CARDS_ID) from From1 matches the ID field from From2 (txt_CARDS_ID).
I apologize if this is an easy issue that I should already know… I’ve checked many sites and the only examples I found were for DataGridView and I could not make the examples work in my project.
Form1 is bound to table tbl_Offenders (MS Access DB). Form2 is bound to table tbl_Vehicles (MS Access DB). Form1 has a button that opens Form2 as ShowDialog. Currently when Form2 opens all records are showing in a combo box. Form2 functions correctly (add, delete, edit, scroll, etc.). The problem is that I need Form2 to open with filtered records. Form2 needs to open showing only the records where the ID field (txt_CARDS_ID) from From1 matches the ID field from From2 (txt_CARDS_ID).
I apologize if this is an easy issue that I should already know… I’ve checked many sites and the only examples I found were for DataGridView and I could not make the examples work in my project.