Private Sub btnManufacturer_Click() oForm = Me.Name oCombo = Me.Manufacturer_Combo.Name DoCmd.OpenForm "f_List", , , , , acDialog End Sub
Private Sub Form_Open(Cancel As Integer) Cancel = -1 CopyComboBoxSettings Forms(oForm).Form.Controls(oCombo) Cancel = 0 End Sub Private Sub CopyComboBoxSettings(ByVal CSourceComboBox As Access.ComboBox) List1.RowSourceType = CSourceComboBox.RowSourceType List1.RowSource = CSourceComboBox.RowSource List1.ColumnCount = CSourceComboBox.ColumnCount List1.ColumnWidths = CSourceComboBox.ColumnWidths End Sub Private Sub List1_Click() Forms(oForm).Form.Controls(oCombo).value = List1.value DoCmd.Close End Sub
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
An Experts Exchange subscription includes unlimited access to online courses.Get Started
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE