Download as pdf or txt
Download as pdf or txt
You are on page 1of 15

Microsoft Access tips: Converting to Access 2007

Microsoft Access Tips for Serious Users


Provided by Allen Browne. Created: December 2006. Last updated: 20 October 2010.

Converting to Access 2007 or 2010


Access 2007 introduced major new functionality in both the engine and the interface. Seasoned developers discovered new things are possible, and casual users found more things within their grasp. Get up to speed with Access 2007: What's Good - Useful new features What's Mixed - Both good and bad What's Gone - Features removed What's Fixed - Old issues solved What's Broken - New bugs Configuration - Setup options for developers Compatibility - Issues with previous versions Links - Technical info for developers. Hint: Code does not run unless your database is in a trusted location. To trust your folder, click: Office Button (top left) Access Options (bottom of dialog) Trust Center (left) Trust Center Settings (button) Trusted Locations (left) Add new location (button)

These observations are limited to Access, and do not address very significant new capabilities for data collection and integration with other software through WSS (SharePoint) or other software. If you are upgrading from Access 97, you will also need the information in article, Converting from Access 97. If you are having difficulty using an Access 2007 database in Access 2010, see Microsoft's article, Backward Compatibility between Access 2010 and Access 2007.

Updates/Hotfixes
Service Packs are essential. Apply hotfixes if you experience a problem.
article. Older updates and hotfixes (prior to Service Pack 2) are listed at the end of this

Service Pack 2 Apr 28 '09 help Jun 30 '09 hotfix (972570) Jun 30 '09 hotfix (972347) Jun 30 '09 hotfix (971859) Aug 25 '09 hotfix (973405)

Details: 953195 Updated Help (HxS) files for Microsoft Office Access 2007 Slow performance in Datasheets 1. 2. 1. 2. 3. 1. 2. 3. 4. 1. 2. 3. Report does not display all CAD images (attachment field) Report with Chart flickers in Report and Layout view Query crash (ODBC, inheritance, and aggregation.) Last row not imported. Decimal lookup field not displayed (from ODBC table.) Parameter shown as number (ASCII value) instead of text on a report. Stored procedure executed multiple times when opening a form/report. Navigation Pane and Status Bar issues after applying Service Pack 2. Calculated field changes value while scrolling. Office 2007 SP2 fails to update some files. Objects can be deleted from Nav Pane even if you don't have permission. Combo box becomes transparent when losing focus.

Oct 27 '09 hotfix (974995) Dec 15 '09 hotfix (977033) Feb 23 '10 hotfix (978402) Apr 27 '10 hotfix Jun 29 '10 hotfix (983317) Jun 29 '10 hotfix

Ribbon options for rich text box now work in subforms. Runtime crash 1. ApplyFilter macro does not accept subsequent parameters. 2. "There isn't enough memory to undo..." error when runing 1.5MB query. Errors importing text files (Get External Data) Sharepoint read-only message not displayed (when document booked out)

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

(2203969) Aug 31 '10 hotfix (2276481)

1. Access hangs on large attached table, clicking arrow beside date column. 2. Templates disappear (with Spanish MUI on Win XP/2003) 3. Unable to link Sybase database if File DSN contains spaces. (This hotfix is also in Office 2007 Cumulative Update for August 2010)

What's good (useful new features)


If you are familiar with older versions, the new Access may leave you shocked and bewildered - unable to find a thing without the familiar menus, toolbars, and Database window. It takes some time to adapt. Once you recover, you unearth some seriously useful new functionality beneath that pretty face: Feature Applies to Usage examples Create a template database to be used any time you create a new database. Any new database is initialized with whatever you placed in the template settings, properties, forms, reports, macros, modules, references, error logging, splash form, ... Seriously useful for individuals and developer teams who want consistency. Solves many problem properties (Name AutoCorrect, default references, etc.) Formatted data in exports and emails.
PDF add-in can be chained into the runtime installation. Prior to Service Pack 2, required a download. The

Template

ACCDB, MDB

PDF Field and Table templates

Reports, datasheets Table design

Predefined fields (XSD-based settings for name, type, length) and tables provide consistency and speed in table design.

Rich text

For the first time, you can format text a text box: bold, italics, bulleted lists, fonts, colors, etc. Use for comments, merge letter reports, ... Applies to text boxes that are unbound, bound to an expression, or bound Memo fields, text boxes to a Memo field that has the Text Format property set to Rich Text (in table design.) Note: stores HTML (not RTF.) OLE field, Attachments, Images are in compressed format (e.g. JPG), with transparency (e.g. PNG.) pictures on Previous versions used used bitmap storage - impractical for more than a forms/reports handful of images. Memo fields Open queries, forms, etc. Forms Forms, reports Form and report design Keeps a ColumnHistory of the text in the memo field each time it is changed. Use for legally sensitive notes (e.g. staff/client case notes.) Choose between tabbed documents and overlapping windows (the old MDI view): Office Button | Access Options | Current Database. A synchronized Datasheet (for locating the record) and Form view (for editing.) Design forms and reports while viewing your data. Arrange controls as a group (including labels in a different section), and manipulate them together. Add gridlines that expand to the tallest control, even where controls Can Grow. A Search box in the horizontal scrollbar searches any field in real time, finding matches between keystrokes. No setup: automatically appears in datasheets and forms. Filter or sort by clicking the column header in a datasheet. No setup.

Compressed storage

Append Only

Tabbed documents Split forms Layout view Control layouts

Search

Datasheets, forms

Filters

Datasheets, forms

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

(Particularly good on date fields, e.g. "last week", "last month".) Totals Datasheets In any datasheet, depress Totals on the Records group of Home tab. At the foot of each column, choose sum, count, average, etc. No setup. Images now have a Control Source. Save the file name in a text field, and the image displays it without code. Show a graphic for each record, even in Continuous Form view. Calendar automatically appears beside date fields/controls. No setup. (Can be suppressed with Show Date Picker property.) Set the List Items Edit Form property of the combo box. Right-click to edit/add to the items to the combo's list. Shade alternate rows by setting the Alternate Back Color property of the Section. No setup required for Datasheets. Option to show numbers as #### if column is too narrow (as Excel does.) Configurable: Office Button | Access Options | Current Database | Check for truncated number fields. In Macro Design, a new column displays the arguments for each action, making it much easier to follow what the macro is doing. Collection of variables that can be used application-wide and survive code resets. Example: In AutoExec macro, SetTempVar named LicensedTo to "Acme Corporation", and add this text box to each report header: =[TempVars]![LicensedTo] After an import or export (External Data tab of the ribbon), you can save the operation and repeat it later. Send HTML forms in email, and automatically process the data when replies are received. (See the Collect Data group on the External Data tab of the ribbon.) Sample databases to get you started. For business, education, personal, and the Northwind sample. Microsoft is providing free developer extensions and runtime Access so you can create an Access 2007 application and give it to users who do not have Access 2007. (In previous versions, this was an additional commercial product.)

Bound images

Image control

Date picker Edit list items Alternating row colors

Date fields, text boxes Combos, list boxes Reports, forms, datasheets Number fields

Truncated numbers

Macro design arguments

Macros

TempVars

Macros, queries, code, controls

Save Import/Export Data Collection

External data Data Anyone wanting a sample database to use or extend Everyone

Template databases

Free runtime

There are many other little improvements as well. For example, datasheets are more readable and colorful, the Parameters dialog (in query design) is a much larger, the NavigationCaption property for forms, and the Auto-Format styles to enhance the look of your database.

What's mixed (good and bad)


Some new features could be considered good or bad, depending on your point of view. Microsoft designed many of these features for end users, so the "bad" is most likely the perspective of the serious user or Access developer. Feature Good Bad

Multi-valued fields

The relational structure behind multi-valued fields is not accessible. Developers will find it harder to handle complex data Easy for beginner to choose multiple values types. Any generic procedure you write must be capable in field. of handling fields that contain fields. You cannot use a table with a multi-valued field in an IN clause (i.e. in

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

another database.) Problems with filters - kb 926701 Attachment fields Able to store multiple attachments for one field. Supports compressed storage. Right-click fields in report view to filter, sort, find, copy, or follow hyperlink. New look. Programmable. Attachments are complex data, so the comments above apply. Many large attachments may push you towards to 2GB limit. The events of the report's sections do not fire in this view. Initial frustration at not knowing where to find things. Custom ribbons are harder to create than custom toolbars. Harder to find an object, e.g. you have hundreds of queries. By default, objects sort by sub-type (e.g. crosstab queries above select queries or action queries.) Configurable. Once a category is collapsed, the Nav Pane does not remember the most recently used object under each category.

Report view

Ribbon

Navigation Pane

Can be resized, shuttered, or hidden. Configurable. Search box (not shown by default.)

Modify schema (Datasheet)

Can disable: Office Button | Access Options On by default, so users can add, delete, and rename | Current Database | Enable Design fields in Datasheet view. Changes in Datasheet View. Embedded macros, with error handling. Use variables in macros - SetTempVar. Works even with code disabled. Easier for novices to discover and understand. Still inadequate for most serious tasks. Wizards create Embedded Macros in an ACCDB (but VBA in an MDB.) Cannot see many rows at once. Shows sorting direction for selected field only.

Macros more powerful Sorting And Grouping (Reports) Field List

The Field List (form/report design) can Side effects of altering the Record Source (e.g. read show fields from all tables, making it easier only, or records gone due to inner join.) Can make for novices to add fields from other tables. Design View slow to open.

What's gone (features removed)


A few of the features Microsoft considered to be "less used" have been omitted from the new file format (ACCDB): Feature removed Workaround ACCDBs do not support security, and Access 2007 does not provide the interface to manage security for MDBs. Use tables attached to a database that has security (SQL Server, MySQL, ...), or attach tables from an MDB and manage them as described in kb 918583, or Security Considerations and Guidance for Access 2007 or What happened to User-Level Security? (In reality, the Access security was never more than a padlock.) Use attached tables, connected to a database that supports replication e.g. use an MDB back end rather than an ACCDB back end. DAPs are no longer supported. Generate your web interface through PHP or ASP. Microsoft's explanation. In the new version (MDB or ACCDB), you can no longer export a report to Excel. (Tables and queries can still be exported.)

Security (MDW)

Replication Data Access Pages (DAP) Publish report to Excel

Fixed in Service Pack 2

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

Speech recognition Windows in Taskbar

On Windows XP, Office 2007 cannot handle speech input. You must use Vista, or purchase 3rd party dictation software. The setting to show each form in the Windows Taskbar has been removed. (In previous versions this was: Tools | Options | View | Windows in Taskbar.)

What's fixed (old issues solved)


Several issues with existing versions of Access are solved in 2007: Issue Security dialogs Solution Every time you opened your database, Access 2003 tried to convince you that was a bad thing unless it was digitally signed. Access 2007 solves this by introducing Trusted Locations (Office Button | Access Options | Trust Center | Trust Center Settings.) Developers often coded to disable the mouse wheel so it would not scroll records in Form view. Access 2007 scrolls in Datasheet and Continuous view, but not form view. (Use the Mouse Wheel event if you want the old behavior.) Previous versions prefixed "http://" to all hyperlink fields. Access 2007 recognizes email addresses, and prepends "mailto:" If you type 5 into a field formatted as "Percent", Access 2007 understands it as 5%. Previous versions interpreted it as 500%. (This workaround is no longer required.) You no longer have to remove that annoying zero Access used to assign to the Default Value property of every numeric field you created. Access 2007 recognizes the most common field names that cause problems (e.g. Name, Date, Month, and Year), and warns you (in table design.) It responds to only a very few reserved names, so you still need this utility or list. Display both a Picture and a Caption on command buttons and tab controls (but not toggle buttons.) Previous versions attempted to guess the number you wanted when entering data in a datasheet. This annoying behavior has been removed. Several issues solved, such as the ability to choose columns and specify data types when importing from Excel. Scroll bars now work for controls with internal margins, and size-to-fit correctly. Controls now have padding as well as margins. Several filter bugs fixed. Access can now sort Decimal fields correctly. If a linked table is not present, Access 2007 opens the query in SQL View, leaving the query statement intact. (Previous versions opened in design view, removing the joins from the FROM clause.)

Mouse Wheel

Email in Hyperlinks Percent format Default Value (number fields) Reserved field names Picture + Caption Autofill (datasheets) Imports Internal margins Filters Decimal data type Queries survive if table gone

What's broken (new bugs)


Like Access 95 (the first 32-bit version) and Access 2000 (the first JET 4 version), Access 2007 is a major revision. Inevitably, there were bugs in the initial release of this version too. All the engine-level bugs in previous versions have been carried into Access 2007 unfixed, so you can expect the same incorrect results in your queries. New bugs in Access 2007 include: Bug Comments Fixed?

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

Spell checker corrupts rich text Cannot assign specific printer to report

If you run the Spelling Checker on a rich text field that contains a carriage return, the words are messed up.

Yes: SP1

In report design view, the Page Setup dialog lets you assign a specific printer to the Yes: SP2 report. Access 2007 loses this setting, and the report goes to the default printer. /hotfix (A report assigned to a specific printer in a previous version still works.) If the source for a form/report is a SQL statement, and you click the Build button beside the RecordSource property, your changes are lost when you return from the query designer (unless you move to another property.) While a form is being edited, a control's OldValue should indicate the value that will be restored if you undo the edit. The OldValue of a combo bound to a multivalued field yields the current value, not the old value. A rich text control in a subform is barely useable. Since the formatting on the ribbon is disabled, and the minibar does not appear, you are limited to keystrokes such as Ctrl+B. Access 2007 cannot understand some expressions that work in previous versions. For example, this expression in the Control Source of a text box results in #Name: =[Form].[RecordsetClone].[RecordCount] For a workaround, see Avoid #Error in form/report with no records. There are some problems with the new interface, e.g.: View icon (Home tab of ribbon) remains disabled after resetting code. Print Preview disappears from ribbon. If you Shift+Del an object in the Navigation Pane (deletion without confirmation), Access misreads the held-down shift and selects all previous objects. So if you delete the last form, and slip - tapping Del a second time, or not releasing it before the first AutoRepeat -you just deleted ALL forms, without confirmation. If an Image control is on the page of a tab control, its Click, Mouse Down, and Mouse Up events don't fire. Clicking an image control on a continuous form does not set the current record, so its events appear to be reporting the wrong record. Workaround: place a transparent image over the control. (Suggested by JGuen.) See Errors using multiple versions of Access under Vista. Underlined labels and text in a report are not underlined when you export to PDF. Workaround: use an expression in a rich text box, instead of plain text or label. (Courtesy Alan Cossey.) If a database linked to an Office Live site is taken off line, and opened with an unactivated Access 2007, the user is warned that the data is read-only. However, the form permits data entry, but loses the data when the form is closed. (Courtesy Alan Cossey.) If you have an AutoNumber field that is not the primary key, Access 2007 allows an Update query to update the field to Null. When you compact the database, you then lose all records in this table. Yes: SP2

RecordSource property not updated OldValue incorrect in multivalued fields

No

Rich text limited in subforms

Yes: hotfix

Compatibility issues

No

Interface issues

Shift+Del (Navigation Pane)

No

Events don't fire for Image control Image control does not set current record VBA References in Windows Vista Export to PDF: Underlining not shown Office Live data accepted, but lost

Yes: SP1 No N/a Yes: SP2

Data loss on compact

Yes: SP2

If you assign the Control Source of text boxes in Report_Open, you may crash Crash opening report with fields Access 2007 if the report is more than one page long. (Similar to kb 927536, but is assigned programmatically issue not limited to Layout View.) Custom Shortcut menu fails Custom Toolbar buttons may not work Custom shortcut menus (right-click) do not work in subforms. Hotfix released. Some toolbar buttons do not work in MDE, e.g. if you copied the Close button from the Print Preview toolbar.

Yes: SP1 Yes: SP2 N/a No Yes:

Navigation buttons do not auto- Holding down the navigation buttons (left end of horizontal scrollbar) no longer repeat spins through records. DAO synchronise may fail (error

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

3251) Microsoft's list of bugs Access Junkie's list of kb articles Click event reports wrong record Sendkeys may fail

Hotfix released. See the Errors section of http://support.microsoft.com/ph/11265. Jeff Conrad (ex-MVP, now working for Microsoft) has created this list. If you change record in the Click event of a label, image control, text box etc (not command button), Access 2007 reports the old record until the event ends. Unless previous versions of Access are also installed, macros that use Sendkeys may fail with the message: The SendKeys action requires the Microsoft Office Access Utility Add-in to be loaded. Access 2007 crashes when you save a form after right-clicking a text box and choosing Change To | Label. In table design, you can set the Show Date Picker property to No for a Date/Time field, but in a query the field still has the date picker. Error: The expression you entered refers to an object that is closed or doesn't exist. Kb 926700. Error: No current record. Kb 888635. Access may close if the form/report that has a subform/subreport. Kb 927536. A combo may display as transparent when focus leaves it. Hotfix (post SP2.) Workaround: set AlternateBackColor property of (Detail?) Section to something other than "No Color", e.g. #80000027. Occurs if table/query has the same name as a form/report. Kb 926700. Access 2007 does not fire the Current event of a form after a SearchForRecord, if the first record matches the criteria. If you select records in the Datasheet part of a split form, delete, and cancel the deletion, the datasheet does not display all records and the navigation buttons do not work fully. (No data is lost.) A subform in Datasheet view can have a subform (in A2007 only.) But when you delete from the sub-subform and then move record in the main form, it errors: Operation not supported in transactions. In form design, Access may crash when you right-click labels, Change To | Text Box, and save. Access 2007 crashes if the AppIcon db refers to an icon file that does not exist, and the string is more than 130 characters. (Identified by Phil Taylor and Peter Damm.) UNION queries on attached tables fail after installing Service Pack 2 for Office 2007, though they worked before. Details in http://www.pcreview.co.uk/forums/thread-3803279-1.php Use RegEdit to edit the Windows registry. While Access is not running, delete the entries "ASCB1107" and "ASCB2071" under HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Settings\CommandBars. In a split form (with the Datasheet at the bottom), module-level variables get reset (don't retain their value while the form is open.) Sample in this thread. This bug is also present in Access 2010.

hotfix N/a N/a Yes: SP2

Changing Text Box to Label Date picker shows in queries Form named the same as a table/query fails Error moving pages in reports Changing Control Source crashes Access Combo becomes transparent Table/query not found Search-For-Record bug Split forms: records disappear on undo Sub-subform: error on delete Crash when changing label to text box Crash when AppIcon file does not exist "Query too complex" errors in SP2 Properties box may disappear Split form's variables lose their value SelText returns no more than 128 chars

Yes: SP2 No ? ? ? Yes: hotfix ? ? No

Yes: SP2 Yes: SP2 No

No

N/a No No No

OpenReport wizard code doesn't In an MDB, using the wizard to add a command button to open a report results in work code that does not have the DoCmd.OpenReport line. In some cases (prior to SP2), Access 2007 deleted the database when you compact it. To prevent this: Apply Service Pack 2, or the April 16 hotfix.

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

Do not store databases in offline folders. (There are known issues with using Access databases in Windows off-line folders.) If you see the following dialog, DO NOT CLICK OK!!! Instead, open the Windows Explorer, and make a copy of your database, as Access is about to destroy it: Microsoft Office Access can't delete database name.accdb after compacting it. The compacted database has been named Database.mdb. If you compact a database using the same name, Microsoft Access creates a new compacted database and then deletes the original database. In this case, however, the original database wasn't deleted because it is read-only. If you can, remove the read-only status, delete the original database, and then rename the new database using the original name. If you can't remove the read-only status, inform your workgroup administrator.

Configuration
The settings below are suggested for developers who do not want users modifying the database schema or objects. Setting Trusted Locations Name AutoCorrect Issue VBA code is disabled by default. Corruptions and bugs. Users can delete fields, rename fields, and add new fields in Datasheet view. Comments Add the path where your databases are stored: Office Button | Access Options | Trust Center | Trusted Locations. Disable for each database: Office Button | Access Options | Current Database | Name AutoCorrect. Uncheck this option: Office Button | Access Options | Current Database | Enable design changes for tables in Datasheet View. Important: Do this for every database, including any existing ones that might be used under Access 2007. Uncheck: Office Button | Access Options | Current Database | Enable Layout View. Alternatively, set AllowLayoutView to No for each form and report. Note: Apply this setting in each database, even if you had set AllowDesignChanges to No in previous versions.

Schema changes

Layout view

Users can modify forms and reports.

Hint: Create a template with these options set, so they are applied whenever you create a new database in Access 2007. Other settings that differ from previous versions: Margins default to 0.25 inch: Office Button | Access Options | Advanced | Printing. Text fields default to 255 characters: Office Button | Access Options | Object Designers. Numbers that do not fit display as ####: Office Button | Access Options | Current Database | Check for truncated number fields.

Compatibility
Access 2007 can natively work with MDB files in Access 2000 format or Access 2002/2003 format. It will modify those files, e.g. adding new hidden system tables (such as MSysNavePaneGroups) and properties (such as UseMDIMode), but the files still work in the old versions. If you need to programmatically determine the file format, version of JET/ACE, and version of msaccess currently executing, see our Splash Screen utility. Without extensive testing, the compatibility seems surprisingly good considering how different the new version is. It transparently uses Microsoft DAO 3.6 Object Library when you open an MDB, but Microsoft Office 12.0 Access database engine Object Library when you open an ACCDB, and since both libraries respond to References("DAO"), your existing code works in both versions. If your form loads without records, set the new FilterOnLoad property to No (in form design view.) In converting an old database, you could strike problems with deprecated items such as the FileSearch object, dialogs that no

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

longer exist in the ribbon interface, or objects related to the removed features. Prior to Service Pack 2, you could export a table or query in Excel format, but not a report. Both OutputTo and SendObject would fail with error 2282: The format in which you are attempting to output the current object is not available. Applying SP2 should address this. Do not convert a digitally signed database to an ACCDB. Access 2007 will prevent you modifying the code if you do. Access 2007 does not support ADPs as well as previous versions. Microsoft recommends using attached tables instead, as explained in the book, Microsoft Access Developer's Guide to SQL Server by Andy Baron and Mary Chipman. Hotfix released. If you install Access 2007 along with previous versions, you may find that, over time, help begins disappearing from the previous versions. For example, if you place the cursor in a property/method in code (such as Visible) and press F1, you get a completely blank window (no content.) Service Pack 1 also addressed the tedious delay each time you switch to Access 2007 after using another version. The reinstallation delay is now 20 seconds, rather than the 3 - 5 minute delay. In previous versions, you could use a Long Integer field type formatted as a date value to store dates with no time component. This does not work in Access 2007. If Access 2007 cannot convert a previous verion database because it is "exclusively locked" or "already in use", try holding down the Shift key when you open it. If that doesn't work try this recovery sequence.

Links
For the ribbon: Site Menu/Toolbar to Ribbon (Excel workbook) Menu/Toolbar to Ribbon (Interactive) AccessRibbon.com CommandBars Converter Tame the Office Ribbon for Access Technical links: Site Migration considerations for Access 2007 AccessJunkie.com Access-Freak.com Clint Covington's blog Access Team blog Transitioning existing apps to Access 2007 Optimizing Access Apps Linked to SQL Server 2007 Office System Driver Access 2007 Solution Center Help for Access 2007 Customize and control the Navigation Pane Developing Access 2007 Solutions with C or C++ Use sandbox mode Description Technet article, listing conversion/upgrade issues. Jeff Conrad's site on Access 2007, with many links in Access 2007 Help Topics and Access 2007 FAQ. Access 2007 site by Oli S (MVP). Articles such as Ribbon Extensibility and Creating Filter Favorites MSDN blog, with contributions by the Access team; links like Adding programs to deployment packages. MSDN article by Jan Fransen and Ken Getz MSDN article by Andy Baron Microsoft's driver to connect to Access 2007 databases (accdb and mdb) from non-Office software. Microsoft's "top issues" list for Access 2007 Microsoft's help page for Access 2007. Microsoft's suggestions on how to use the Nav Pane as the interface for your application. Instructions and examples of how to access the new ACE engine from C. By Aleksandar Jakic (Microsoft) How to turn off sandbox mode for Access 2007 (e.g. to use Dir() in a macro.) Description List, matching all previous menu and toolbar items to ribbon locations. Click on the A2003 interface to be shown the A2007 location. (Uses Flash.) How to create and manage ribbons for Access 2007, by Avenius Gunter. Also in German. Convert menus and toolbars from old databases into Access 2007 ribbons. By Avenius Gunter. A code class to enable, hide, change label text, or pictures of a button. By Albert Kallal (MVP)

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Microsoft Access tips: Converting to Access 2007

Chaining programs to the A2007 Runtime install Add-ins: Site Database window for Access 2007 Snapshot viewer for Access 2007 Save as PDF (Not needed once SP2 is applied.) Developer Extensions and Access Runtime Runtime for Access 2010

How to chain hotfixes/addins (such as PDF) to the Access 2007 runtime deployment package. (From MSDN.)

Description Database Window like previous versions. COM add-in by Avenius Gunter. Also in German. The snapshot viewer (for viewing exported reports) is not installed by default in Access 2007. The add-in from Microsoft to export PDF files (before Service Pack 2.) Microsoft's royalty-free runtime for Access 2007. (See kb 937998 if Developer disappears from Office Button.) This one is for Access 2010 (not Access 2007.)

Older updates and hotfixes (before Service Pack 2):


Service Pack 1 Access Runtime Apr 8 '07 hotfix Apr 11 '07 hotfix Apr 27 '07 hotfix Jun 24 '07 hotfix Jan 28 '08 hotfix Addresses many bugs in the original release, as listed in kb 942378. Runtime with SP1. 1) Error 3251 synchronizing replicated database with DAO ("Operation not supported...") 2) Error 3001 updating records in JET 3.x database ("Invalid argument".) Custom shortcut menu (right-click) for subform not displayed (A2003 database in A2007). Performance issues with an ADP. Menu items unusable after close or compact. 1) Overlapping windows error. 2) SendObject and OutputTo fail with XLS format. 3) "Unrecognized format" error opening database. Warnings installing packaged solution (created with Access Developer Extensions 2007.) ODBC driver returns wrong results for SQLDescribeCol and SQLColAttribute. 1) Compact creates a new database named Database1.mdb. 2) Query of ODBC data source is very slow in Design View. Pass -through queries prompt twice for data source. Query fails on fields with half-width katakana characters. Page Setup dialog does not save customized printer settings. Database may be deleted on compact. 1) 2) 3) 4) Hangs with null date in MDB. ACCDB fails importing from MDB: 'There isn't enough free memory to update the display.' Line does not display correctly in report (MDB.) Hangs on Japanese O/S when right -clicking subform.

Feb 26 '08 hotfix Feb 26 '08 hotfix Mar 6 '08 hotfix Mar 15 '08 hotfix Mar 22 '08 hotfix Mar 31 '08 hotfix Apr 16 '08 hotfix May 23 '08 hotfix

Jun 24 '08 hotfix Aug 26 '08 hotfix Aug 26 '08 hotfix (kb 956054)

SQL Server 2005 query with JOINs is very slow. Linked Outlook 2007 contacts do not behave as expected. 1) 2) 3) 4) 5) Parameter dialog pops up when you export a query (without parameters) to Excel. Chart object is blank on Vista/Server 2008. Forms are slow after upgrading from Access 2003. SetValue won't set the Locked property of a check box. Stapling is wrong when printing multiple copies.

Aug 26 '08 Office Oct 28 '08 hotfix Oct 28 '08 hotfix (kb 957690)

Hotfix for Office 2007. Addresses an issue with the Close button in Access. Addresses Edit in Datasheet error, with linked Sharepoint data. (Stslist.msp) 1) 2) 3) 4) 5) 6) Popup modal form shrinks after changing RecordSource. Export to RTF is slow. StopMacro evaluates wrongly in chained macro. Errors in Date/Time column in text file (linked or imported.) Second subform fails to update from first subform (based on queries with parameters.) Performance problem creating form based on linked table. (Access.msp)

Nov 11 '08 help Dec 16 '08 hotfix

Updates the help files for Access 2007 and Access Developer. 1) Source Control affects saved code. 2) Subform goes blank and gives error 2467 (expression does not exist) when main form's Recordset set. 3) Performance slower than previous versions when sharing database file over a network. 1) Pasting data from Excel gives Clipboard damaged error. (FMS has a description of the problem.) 2) Linked Outlook contact list is blank. Import from Excel fails with "unable to access information in the file <file name>." Dutch word for forms (formulieren) and reports (rapporten) not recognised. 1) Control at the top of a report section does not appear (or appears in wrong place.) 2) Unable to select font list in Datasheet view.

Feb 24 '09 hotfix Apr 30 '09 hotfix (kb 968861) Apr 30 '09 hotfix (kb 969406) Apr 30 '09 hotifx (kb 970233)

Home

Index of tips

Top

http://allenbrowne.com/Access2007.html#Good[04/13/2012 12:47:34 PM]

Ribbons for Access 2007 / Access 2010 - Trusted Locations

Trusted Locations
You can add folders to trusted locations from "Office Button" / "Access Options" / "Trust Center" / "Trust Center Settings..." / "Trusted Locations" The entries will be stored in the registry under: Access 2007: [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\Trusted Locations] [HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Access\Security\ Trusted Locations\Location(n)] Access 2010: [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\Trusted Locations] [HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Access\Security\ Trusted Locations\Location(n)] "Path"="C:\PathToDB\" "AllowSubfolders"=dword:00000001

http://www.accessribbon.de/en/index.php?Trust_Center:Trusted_Locations[04/13/2012 12:59:46 PM]

Ribbons for Access 2007 / Access 2010 - Trusted Locations

"Description"="The description" "Date"="01.01.2007 12:00" For each trusted folder an entry with following keys will be created in the registry: Path: AllowSubfolders: Description: Date: Path of trusted location (ending with \) Determines whether subfolders are trusted as well (0=No; 1=Yes). Free description. Date of last update (Format: DD.MM.YYYY hh:nn)

Microsoft TechNet: Configure trusted locations and trusted publishers settings in the 2007 Office system Plan trusted locations and trusted publishers settings for the 2007 Office system

http://www.accessribbon.de/en/index.php?Trust_Center:Trusted_Locations[04/13/2012 12:59:46 PM]

Ribbons for Access 2007 / Access 2010 - Trusted Locations

Tool (AppPath):

Download: AddPath.exe ( Access 2007 )

Download: AddPath2010.exe ( Access 2010 )

Download: AddPathExcel2010.exe ( Excel 2010 )

Download: AddPathWord2010.exe ( Word 2010 )

(by doubleclick on AppPath.exe the folder with subfolders will be added to the trusted locations list.) Parameter

http://www.accessribbon.de/en/index.php?Trust_Center:Trusted_Locations[04/13/2012 12:59:46 PM]

Ribbons for Access 2007 / Access 2010 - Trusted Locations

(AddPath/AddPath2010): AddPath.exe / AddPath2010.exe supports following parameters: /Path: Folder to be added. /noSubFolder: Only the folder or folder/subfolders will be trusted. /s: Silent Mode /LangEN: English Message Boxes /AllowNetwork:1 : Allow Trusted Locations on my network ( New in Version 1.3 )

Example (AddPath): Parameters: C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder

http://www.accessribbon.de/en/index.php?Trust_Center:Trusted_Locations[04/13/2012 12:59:46 PM]

Ribbons for Access 2007 / Access 2010 - Trusted Locations

C:\MyFolder\AddPath.exe /noSubFolder C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /s C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /LangEN C:\MyFolder\AddPath.exe /Path C:\MyFolder\SecondFolder\ /AllowNetwork:1 Example (AddPath2010): Parameters: C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder C:\MyFolder\AddPath2010.exe /noSubFolder C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /s C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /noSubFolder /LangEN C:\MyFolder\AddPath2010.exe /Path C:\MyFolder\SecondFolder\ /AllowNetwork:1

http://www.accessribbon.de/en/index.php?Trust_Center:Trusted_Locations[04/13/2012 12:59:46 PM]

You might also like