Visibility issues with a button.

ciao

New member
Local time
Today, 22:53
Joined
Feb 8, 2002
Messages
5
I'm getting and error when I attempt to change the visible properties on a certain button. I need the button to add some records and then disappear when there are no more to add. After I have added the records to a different list box (deleting them from the original), I run a sub routine that requeries the list and changes the button's visibility based on how many records are in the list box. When I run the same sub routine under a different button, i.e. deleting records., it works with no problems. Any ideas?
 
if you are trying to hide the button while it still has the
focus you will get an error
set the focus to another control before you attempt
to hide the button
 
Thank you very much for your help, it works like a charm now!
 

Users who are viewing this thread

Back
Top Bottom