20
Converting Access 97 Converting Access 97 to 2003 to 2003 Adam Cogan Database Architect ssw.com.au

Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Embed Size (px)

Citation preview

Page 1: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Converting Access 97 to Converting Access 97 to 20032003

Adam CoganDatabase Architectssw.com.au

Page 2: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

ToToFromFrom

Page 3: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

OverviewOverview

Access 97 Access 97 toto

Access 2003Access 2003

AccessAccesstoto

SQL ServerSQL Server

AccessAccesstoto

ReportingReportingServicesServices

AccessAccesstoto

WindowsWindowsForms .NET Forms .NET

11 22 33 44

Page 4: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

AgendaAgenda

• Why Upgrade?• Current Problems• Demo: Converting Northwind 97 to

2003

Page 5: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Why Upgrade?Why Upgrade?

1. PivotTable and PivotChart2. Smart tags3. Error checking in forms and reports4. Better help system

Page 6: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

AssumptionsAssumptions

1. Database in Access 972. Familiar with VBA/DAO

Page 7: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Upgrading IssuesUpgrading Issues

1. Database in an uncompiled state2. Linked Tables3. Too many code or class modules4. MDE files cannot be converted5. Additional references6. Secured database

a) User-level securityb) Database password

7. Replicated database

Page 8: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent 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.

Page 9: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent Problems

2. Linked TablesResolution: Convert on the local

machine, or use the Linked Table Manager to re-link the tables after the database has been converted

Page 10: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent Problems

3. Too many code or class modulesCause: Greater than 1000 code

modulesResolution: Combine or eliminate

modules until the number is less than 1000

Page 11: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent Problems

4. MDE files cannot be convertedCause: Database is an MDE fileResolution: Obtain the MDB source file,

convert and recompile

Page 12: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent Problems

5. Additional referencesCause: 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.

Page 13: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent 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

Page 14: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent 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

Page 15: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Current ProblemsCurrent Problems

7. Replicated databaseCause: Database is a member of a

replica setResolution: Synchronise replica set

members before conversion

Page 16: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

Tidying up your databaseTidying 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

Page 17: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

SummarySummary• Current problems

1. Database in an uncompiled state2. Linked tables3. Too many code or class modules4. MDE files cannot be converted5. Additional references6. Secured database7. Replicated database

• Tidying up your database before upgrading• FMS Total Access Analyzer

Page 18: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au

For More Information…For More Information…www.ssw.com.au/ssw/Events/2004AccessToSQLServerAndNET/Resources.aspxwww.fmsinc.com

Page 19: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au
Page 20: Converting Access 97 to 2003 Adam Cogan Database Architect ssw.com.au