From rockysmolin at bchacc.com Tue Jun 1 11:19:12 2010 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Jun 2010 09:19:12 -0700 Subject: [AccessD] Opening form not maximized Message-ID: <36EC65EF0A484B34A7A7B4E8233AC127@HAL9005> Dear List: The opening form of my app has a DoCmd.Maximize right at the end of the Open event. Works fine in Z2003. When I run in A2007, the form does not come up maximized or centered - the user has to drag the form to the left to expose the maximize button. I don't know why this should be but is there a cure for this problem? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From jwcolby at colbyconsulting.com Tue Jun 1 11:32:11 2010 From: jwcolby at colbyconsulting.com (jwcolby) Date: Tue, 01 Jun 2010 12:32:11 -0400 Subject: [AccessD] Opening form not maximized In-Reply-To: <36EC65EF0A484B34A7A7B4E8233AC127@HAL9005> References: <36EC65EF0A484B34A7A7B4E8233AC127@HAL9005> Message-ID: <4C05360B.8020503@colbyconsulting.com> Uninstall 2007? ;) John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > > > Dear List: > > The opening form of my app has a DoCmd.Maximize right at the end of the Open > event. Works fine in Z2003. When I run in A2007, the form does not come up > maximized or centered - the user has to drag the form to the left to expose > the maximize button. > > I don't know why this should be but is there a cure for this problem? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > From rockysmolin at bchacc.com Tue Jun 1 11:37:53 2010 From: rockysmolin at bchacc.com (Rocky Smolin) Date: Tue, 1 Jun 2010 09:37:53 -0700 Subject: [AccessD] Opening form not maximized In-Reply-To: <4C05360B.8020503@colbyconsulting.com> References: <36EC65EF0A484B34A7A7B4E8233AC127@HAL9005> <4C05360B.8020503@colbyconsulting.com> Message-ID: Gladly. Can you speak to my clients and see if you can get them ALL to roll back to 2003? It would be such a relief. Now, of course, I wondering if the problem will be cured or persist in 2010. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, June 01, 2010 9:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Opening form not maximized Uninstall 2007? ;) John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > > > Dear List: > > The opening form of my app has a DoCmd.Maximize right at the end of > the Open event. Works fine in Z2003. When I run in A2007, the form > does not come up maximized or centered - the user has to drag the form > to the left to expose the maximize button. > > I don't know why this should be but is there a cure for this problem? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Jun 1 11:54:58 2010 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 1 Jun 2010 09:54:58 -0700 Subject: [AccessD] Opening form not maximized In-Reply-To: References: <36EC65EF0A484B34A7A7B4E8233AC127@HAL9005> <4C05360B.8020503@colbyconsulting.com> Message-ID: <1C7E45F308484CDAAE72F60E801401A1@creativesystemdesigns.com> I know how you feel... I have migrated a client to 2007 and everything works perfectly except one anoying problem which will not go away... But I am confident that a few hundred lines of code will resolve it. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, June 01, 2010 9:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Opening form not maximized Gladly. Can you speak to my clients and see if you can get them ALL to roll back to 2003? It would be such a relief. Now, of course, I wondering if the problem will be cured or persist in 2010. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, June 01, 2010 9:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Opening form not maximized Uninstall 2007? ;) John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > > > Dear List: > > The opening form of my app has a DoCmd.Maximize right at the end of > the Open event. Works fine in Z2003. When I run in A2007, the form > does not come up maximized or centered - the user has to drag the form > to the left to expose the maximize button. > > I don't know why this should be but is there a cure for this problem? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jm.hwsn at gmail.com Tue Jun 1 12:16:43 2010 From: jm.hwsn at gmail.com (Jim Hewson) Date: Tue, 1 Jun 2010 12:16:43 -0500 Subject: [AccessD] Opening form not maximized In-Reply-To: References: <36EC65EF0A484B34A7A7B4E8233AC127@HAL9005> <4C05360B.8020503@colbyconsulting.com> Message-ID: <4c05407f.1065730a.46e7.47a4@mx.google.com> I had a similar issue but some forms would maximize and then would go back to the development size. To fix the problem, what I did was to change the display options to Tabbed documents and then hide the tabs. All forms are then maximized except those that are designed to be pop-ups. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Tuesday, June 01, 2010 11:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Opening form not maximized Gladly. Can you speak to my clients and see if you can get them ALL to roll back to 2003? It would be such a relief. Now, of course, I wondering if the problem will be cured or persist in 2010. Rocky -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby Sent: Tuesday, June 01, 2010 9:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Opening form not maximized Uninstall 2007? ;) John W. Colby www.ColbyConsulting.com Rocky Smolin wrote: > > > Dear List: > > The opening form of my app has a DoCmd.Maximize right at the end of > the Open event. Works fine in Z2003. When I run in A2007, the form > does not come up maximized or centered - the user has to drag the form > to the left to expose the maximize button. > > I don't know why this should be but is there a cure for this problem? > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From BradM at blackforestltd.com Tue Jun 1 13:21:43 2010 From: BradM at blackforestltd.com (Brad Marks) Date: Tue, 1 Jun 2010 13:21:43 -0500 Subject: [AccessD] Friday's Puzzler - Table Def"Connection"Info(Database Name) References: Message-ID: Drew, I would like to see the class for the connection object that enables switching the data source. Thanks, Brad -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Drew Wutka Sent: Monday, May 31, 2010 7:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday's Puzzler - Table Def"Connection"Info(Database Name) So my advice was in the right direction, LOL. As for posting my connection class, which one? Most are pretty simple, and will even be a function. The largest one I'm almost ashamed to post, because it has changed several times, so there is out of date code in it. If there is a specific process your interested in, let me know. Drew -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Brad Marks Sent: Saturday, May 29, 2010 9:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday's Puzzler - Table Def "Connection"Info(Database Name) Drew, Thanks for the advice. Just tonight, I discovered why I wasn't seeing the database name in the table def .connect info. The TEST database is the default database and it is not shown in the .connect info. The PROD database is NOT the default database and it is shown. In the ODBC screens to test the connection I see the same thing. With our TEST DB, I simply see "default" With our PROD DB, I see the actual name of the database. I ran a bunch of tests tonight and I can tell by the data content that the code that I use to switch between TEST and PROD is working as expected. Could you post your "Class"? I would like to see how it differs from the code that I am using. Thanks Again, Brad ~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com on behalf of Drew Wutka Sent: Sat 5/29/2010 6:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Friday's Puzzler - Table Def "Connection" Info(Database Name) Ok, going to throw my two cents in here. First, and idea of why you aren't getting database info with the SQL server account. With an NT account, you have access to the entire SQL database, and you can assign/remove permissions. However, SQL accounts can be set to a specific schema/database in SQL Server, so it may not be listing DB info because it's only connecting to one database. Not sure if that makes sense. The other thing I wanted to toss out there, is that typically I create a class (used to be a plain module) for a connection object. So instead of having individual processes creating their connection, with their own code, all connection goes through the same code contained within the connection class. There are many advantages to this. First, just manually switching the data source is changing one line of code. You can also setup dual environments, like what you are talking about, and allow the class to handle which database it is using, and also allow any reference to which one you are using. Another use is keeping connections open. One large system I have connects to the database quite frequently. Instead of opening and closing the connection over and over, in separate processes throughout the application, the class opens the connection, and then maintains the connection for 15 seconds...if no other process needs the connection, the connection is closed...and then reopened when it is needed. Drew The information contained in this transmission is intended only for the person or entity to which it is addressed and may contain II-VI Proprietary and/or II-VI Business Sensitive material. If you are not the intended recipient, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. You are notified that any review, retransmission, copying, disclosure, dissemination, or other use of, or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From delam at zyterra.com Tue Jun 1 14:34:17 2010 From: delam at zyterra.com (Debbie) Date: Tue, 1 Jun 2010 14:34:17 -0500 Subject: [AccessD] Ribbon problem Message-ID: The Access 2007 I am working on has lots of custom ribbons. The print preview on the report is giving me problems intermittently. The close print preview button will gray out and become disabled. I have not been able to figure out why, but I have been able to reproduce it pretty consistently when I select a criteria from a pop up form. This is not the only time it shows up, but the only one I can reproduce. Using the default ribbon on this same report has a working close print preview. I am including a copy of the ribbon XML in the hope that someone can spot an obvious problem I cannot.