Jim Lawrence
accessd at shaw.ca
Wed Mar 7 00:54:04 CST 2007
Hi Rocky: This should only happens if your cursor is sitting or you have focus on the field you are trying to turn visibility off on. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, March 06, 2007 12:13 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Lost Focus. Not? Dear List: When the following code is run: Private Sub cboManufacturers_LostFocus() Me.cboManufacturers.Visible = False End Sub I get an error that says "You can't hide a control that has the focus." Doesn't seem to make sense. What am I missing here? TIA, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com