Bob Heygood
bheygood at abestsystems.com
Sun May 1 17:33:59 CDT 2005
Hello to the list, When I add a button to a form and on it's On Click event use code to refresh the form either by DoCmd.DoMenuItem acFormBar, acRecordsMenu, 5, , acMenuVer70 or DoCmd.RunCommand acCmdRefresh the code runs fine the first time, but gives a message "You can't carry out this action at the present time." Once this happens, all command buttons give the same message as above. And locks up the computer. There are two sub forms on the form. A2K Tried compact and repair and decompile. best, bob -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Hollis,Virginia Sent: Thursday, April 28, 2005 4:45 AM To: accessd at databaseadvisors.com Subject: [AccessD] A2003 Tab Control That makes sense. I will make sure I turn it back on when they close the dB. Most users probably wouldn't notice at all, few other databases around (in Access anyway). But setting it back is a good idea. Thanks. Virginia *************** If I may respond... I agree with Brett, if your apps are working in an environment where your users are going to be aware of what's happening and be concerned about it. If not - the options are all yours! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com <http://databaseadvisors.com/mailman/listinfo/accessd> [mailto:accessd-bounces at databaseadvisors.com <http://databaseadvisors.com/mailman/listinfo/accessd> ] On Behalf Of Brett Barabash Sent: Wednesday, April 27, 2005 3:55 PM To: Access Developers discussion and problem solving Subject: RE: [AccessD] A2003 Tab Control If I may be so bold... Automatically changing another user's global settings to suit your application's needs is considered by many (like myself) to be very intrusive, and generally a poor practice. However, there are valid reasons for needing to do this (I think you may have touched upon one). In this case, I would strongly suggest keeping track of the user's original settings when your app launches and restoring them when it closes. Otherwise, be prepared for the confused users asking you why their other Access apps look "different" since they ran yours. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com