Hello all,
The after_update code for my combobox, located on a tab control, is not firing after update. The combobox is displaying its row source correctly. What is wrong please?
cboShipper > Row Source:
SELECT [tblCompanies].[CompanyID], [tblCompanies].[CompanyName], [tblCompanies].[CompanyAdd1], [tblCompanies].[CompanyAdd2], [tblCompanies].[CompanyCity], [tblCompanies].[CompanyProvST], [tblCompanies].[CompanyPostal], [tblCompanies].[CompanyCountry], [tblCompanies].[CompanyTaxID], [tblCompanies].[CompanyType] FROM tblCompanies ORDER BY [CompanyName];
cboShipper > After Update: Event Procedure
Private Sub cboShipper_AfterUpdate()
Shipper = cboShipper.Column(1)
ShipperAdd1 = cboShipper.Column(2)
ShipperAdd2 = cboShipper.Column(3)
ShipperCity = cboShipper.Column(4)
ShipperProvST = cboShipper.Column(5)
ShipperPostal = cboShipper.Column(6)
ShipperCountry = cboShipper.Column(7)
End Sub
None of these fields, also on the tab control (same tab) are being set after leaving the combobox.
Thank you.
The after_update code for my combobox, located on a tab control, is not firing after update. The combobox is displaying its row source correctly. What is wrong please?
cboShipper > Row Source:
SELECT [tblCompanies].[CompanyID], [tblCompanies].[CompanyName], [tblCompanies].[CompanyAdd1], [tblCompanies].[CompanyAdd2], [tblCompanies].[CompanyCity], [tblCompanies].[CompanyProvST], [tblCompanies].[CompanyPostal], [tblCompanies].[CompanyCountry], [tblCompanies].[CompanyTaxID], [tblCompanies].[CompanyType] FROM tblCompanies ORDER BY [CompanyName];
cboShipper > After Update: Event Procedure
Private Sub cboShipper_AfterUpdate()
Shipper = cboShipper.Column(1)
ShipperAdd1 = cboShipper.Column(2)
ShipperAdd2 = cboShipper.Column(3)
ShipperCity = cboShipper.Column(4)
ShipperProvST = cboShipper.Column(5)
ShipperPostal = cboShipper.Column(6)
ShipperCountry = cboShipper.Column(7)
End Sub
None of these fields, also on the tab control (same tab) are being set after leaving the combobox.
Thank you.