T
Tony Wainwright
I have a form that is used to import data. There are 2 buttons and a
label - cmdImport, cmdClose and lblStatus. When I click the Import button I
want to disable both buttons so that the user can't click anything else
while the import routine is running. If I put Me.cmdImport.Enabled = False
in the ClickEvent, I get an error saying that I can't disable a button while
it has the focus. Is there anyway to get round this?
Tony
label - cmdImport, cmdClose and lblStatus. When I click the Import button I
want to disable both buttons so that the user can't click anything else
while the import routine is running. If I put Me.cmdImport.Enabled = False
in the ClickEvent, I get an error saying that I can't disable a button while
it has the focus. Is there anyway to get round this?
Tony