Hailstorm Press Event template

Download Report

Transcript Hailstorm Press Event template

Converting Access 97 to 2003
Adam Cogan
Database Architect
ssw.com.au
From
To
Overview
1
2
3
4
Access 97
to
Access 2003
Access
to
SQL Server
Access
to
Reporting
Services
Access
to
Windows
Forms .NET
Agenda
• Why Upgrade?
• Current Problems
• Demo: Converting Northwind 97 to 2003
Why Upgrade?
1.
2.
3.
4.
PivotTable and PivotChart
Smart tags
Error checking in forms and reports
Better help system
Assumptions
1. Database in Access 97
2. Familiar with VBA/DAO
Upgrading Issues
1.
2.
3.
4.
5.
6.
Database in an uncompiled state
Linked Tables
Too many code or class modules
MDE files cannot be converted
Additional references
Secured database
a) User-level security
b) Database password
7. Replicated database
Current Problems
1. Database in an uncompiled state
Cause: The IsCompiled property is false
Resolution: Compile the database with the
old version of Access before trying to
convert. Fix any compile errors.
Current Problems
2. Linked Tables
Resolution: Convert on the local machine, or
use the Linked Table Manager to re-link
the tables after the database has been
converted
Current Problems
3. Too many code or class modules
Cause: Greater than 1000 code modules
Resolution: Combine or eliminate modules
until the number is less than 1000
Current Problems
4. MDE files cannot be converted
Cause: Database is an MDE file
Resolution: Obtain the MDB source file,
convert and recompile
Current Problems
5. Additional references
Cause: Database contains reference/s other than:
STDOLE, DAO, VBA, VBIDE, Access, Office
and ADODB.
Resolution: The person converting the database
must be sure to have the same references on
the machine doing the conversion.
Current Problems
6a. Secured database – database password
Cause: An end-user has secured a database
with login security
Resolution: The person converting the
database must have the necessary
permissions
Current Problems
6b. Secured database – user-level security
Cause: A workgroup administrator has
secured the database
Resolution: The person converting the
database must join the active workgroup
Current Problems
7. Replicated database
Cause: Database is a member of a replica
set
Resolution: Synchronise replica set
members before conversion
Tidying up your database
•
Tidying up your database before
upgrading
•
•
•
•
Form performance
Unused database objects
Missing error-handling code
FMS Total Access Analyzer
•
Analyses database for problems
Summary
•
Current problems
1.
2.
3.
4.
5.
6.
7.
•
Database in an uncompiled state
Linked tables
Too many code or class modules
MDE files cannot be converted
Additional references
Secured database
Replicated database
Tidying up your database before upgrading
•
FMS Total Access Analyzer
For More Information…
www.ssw.com.au/ssw/Events/2004AccessToSQLServerAndNET/Resources.aspx
www.fmsinc.com