Tue, 07 Sep 2010 21:45:55 GMT If you’re considering migrating from Access 2003 to Access 2010 (or perhaps you’re already in the process of doing so), there’s a new resource on Office.com that gives you a high-level overview of the changes in the new version: the Access 2010 Migration Guide. The guide walks you through new features such as the ribbon interface, the Navigation Pane, where to find Access Options, and so on. See the other Office 2010 Migration Guides, and collect all six! |
Wed, 01 Sep 2010 17:14:41 GMT Two recent papers written by Luke Chung of FMS, Inc. about SQL Azure and Access have created a lot of interest on his blog, as well as a few linked forum discussions. In response, Luke has written a follow-up paper about deploying an Access database once it’s linked to SQL Azure. He has also revised his original paper about linking to SQL Azure to clarify that you only need to install the SQL Server 2008 R2 Management Services program (SSMS) and not SQL Server itself. Thanks again, Luke! Luke Chung, President and Founder of FMS, Inc., has written and presented a wide range of topics related to Access over the years. In addition to their many Access related products, FMS offers a wealth of great Access papers, tips, and video on their site. |
Thu, 26 Aug 2010 18:02:50 GMT Today’s guest blogger is Peter De Baets of Peter’s Software, providing Microsoft Access tools to developers for over a decade including ShrinkerStretcher, KeyedAccess and many other products and free downloads. I've recently discovered an easy way to scale Access Chart objects at runtime to fit the form window, and I'd like to share it with you. Scaling an Access Chart means that when the end-user resizes the chart form window, the chart resizes to fit the new window size. It also means that when the Access window and form are maximized, the chart will fill the screen at any screen resolution. Well, it will mostly fill the screen, as we'll see below. Anyway, scaling an Access Chart is a no-brainer - it's a great way to add some WOW to your application with very little effort. (Before) (After) This tip is for forms that contain one and only one chart control (Unbound Object Frame containing a Microsoft Graph Chart object), and are intended simply to display that one chart. I thought this would be fairly easy - you know, just set the chart control Height and Width to the form InsideHeight and InsideWidth property values in the form OnResize event procedure - but it turns out that there is a hitch. The chart object scales smoothly as the chart control increases in size until the width exceeds about 9.7 inches. Then the chart object undergoes an anomalous growth spurt and part of the chart object resizes beyond the edge of the chart control hiding some of the chart data! Come back, my chart! The only way to handle this, as far as I know, is to limit the width of the chart control to a maximum of 9.7 inches so all of the chart data remains visible. Limiting the width of the chart control means there may be some empty form space on the right, so the code below also centers the chart control on the screen to make up for this. Without further ado, here is the code to place in your chart form OnResize event procedure. Remember to insert the name of your chart control where indicated: Dim wd As Long With Me!OLEUnbound0 '<-- Your chart control name goes here '* Make sure that the chart control size '* mode is set to 'stretch' .SizeMode = acOLESizeStretch '* Make sure that chart fonts scale '* with the chart object .Object.ChartArea.AutoScaleFont = True '* If window resizing causes horizontal '* scroll bar to appear, '* then move chart control out of the way prior to '* setting left, width values. If Me.Width > Me.InsideWidth Then Application.Echo False .Left = 0 .Width = 0 End If '* Set the new width of the chart control. '* Chart object can resize beyond the chart '* control when control is wider than ~9.7 inches, so '* limit chart control width to 9.7 inches max. wd = Me.InsideWidth If wd > 9.7 * 1440 Then wd = 9.7 * 1440 End If '* Set chart control width and height .Width = wd .Height = Me.InsideHeight - .Top '* Center the chart horizontally on the form If Me.InsideWidth > .Width Then .Left = (Me.InsideWidth - .Width) / 2 End If '* Set the form width and height Me.Width = .Left + .Width Me.Section(acDetail).Height = Me.InsideHeight Application.Echo True End With |