Importing CCMDB.accdb into a new .accdb: Difference between revisions

From CCMDB Wiki
Jump to navigation Jump to search
mNo edit summary
Line 11: Line 11:
#* database title "Critical Care and Medicine Database"
#* database title "Critical Care and Medicine Database"
#* display form "Main Form"
#* display form "Main Form"
#* Document Window Options "Overlapping Windows"
# add VBA tools references:
#* Microsoft Excel 14.0 Object Library (I think this was needed for the floor function somewhere in Apache)
#* Microsoft Visual Basic for Applications Extensibility 5.3 '''(can't remember what for, leaving out for now...)'''
#* Microsoft ADO Ext. 6.0 for DDL and Security '''(can't remember what for, leaving out for now...)'''
# close
# close
# open in exclusive mode, set password (ignore row... cipher... warning)
# open in exclusive mode, set password (ignore row... cipher... warning)

Revision as of 09:31, 2020 June 5

These are just some notes for Tina, probably not relevant to anyone else.

.accdb files occasionally become corrupted and bloated. Compact and Repair only deals with some of it, so another recommended solution is to import all the contents of a db into a new, clean DB. Some settings do not travel across with this import, so this is a checklist of what else needs to be done when importing into a new .accdb.

Steps

  1. set up new db
  2. import all tables etc
  3. set password
  4. set current database options
    • compact-on-close
    • database title "Critical Care and Medicine Database"
    • display form "Main Form"
    • Document Window Options "Overlapping Windows"
  1. add VBA tools references:
    • Microsoft Excel 14.0 Object Library (I think this was needed for the floor function somewhere in Apache)
    • Microsoft Visual Basic for Applications Extensibility 5.3 (can't remember what for, leaving out for now...)
    • Microsoft ADO Ext. 6.0 for DDL and Security (can't remember what for, leaving out for now...)
  1. close
  2. open in exclusive mode, set password (ignore row... cipher... warning)

Related articles

Related articles: