Solved

Import Lotus Notes Database into Access/SQL - What about Documents?

Posted on 2010-09-21
5
694 Views
Last Modified: 2013-12-18
I have a few Lotus Notes 'databases' that i'd like to import into Access or SQL.

I think I have most of the steps down (install NotesSQL ODBC driver, setup ODBC connection to Lotus DB, import data into Access), but I can't figure out what to do with all the documents, eg: Word Files, PDF Docs, Excel Workbooks that were in the Lotus DB.

The Lotus Notes DB is full of them. After importing, I do notice a table in Access called 'Documents,' but I don't know what to do with it. I see a line/record for each document in the Lotus DB, but it's not like SQL where there is a column for the actual file data.

Please let me know how I can actually pull and use the documents I pull out of the Lotus DB.
0
Comment
Question by:synapse88
  • 3
5 Comments
 
LVL 17

Expert Comment

by:fgrushevsky
ID: 33728067
it might not be that easy - to just install NotesSQL ODBC driver, setup ODBC connection to Lotus DB, import data into Access - to get the data over.
The beauty of Notes that document does not have to be structured piece of data (such as record) and it can't be mapped automatically to SQL/access record

When it comes to the attachments (Word Files, PDF Docs, Excel Workbooks) that are stored in the Lotus DB... there are several ways to store attachments (withing RichText Field, directly to the form/document). Most likely you will need to write some code to get attachments, detach them from Notes and insert into SQL
0
 
LVL 22

Expert Comment

by:mbonaci
ID: 33732278
Here's how to do it using VB:
http://msdn.microsoft.com/en-us/library/Aa260858

Especially this link (Listing 2):
http://msdn.microsoft.com/en-us/library/aa239694

Here's general info about files in Access (how to do it manually, what can be stored, ...):
http://office.microsoft.com/en-us/access-help/attach-files-and-graphics-to-the-records-in-your-database-HA001213852.aspx
0
 
LVL 22

Expert Comment

by:mbonaci
ID: 33732330
0
 

Author Comment

by:synapse88
ID: 33736627
I don't think I understand your links mbonac.

The technical hurdle here is extracting the documents from Lotus Notes, not saving them to SQL Server/Access.
0
 
LVL 22

Accepted Solution

by:
mbonaci earned 500 total points
ID: 33752713
Hmm, you said you wanted to import to Access but don't know how to handle documents.
What would you conclude from that?

Can you then tell us, what do you want to do with documents, if not import them into Access, along with non-blob data?

The "extracting attachments from Lotus Notes" part is easy, see here for code examples:

    http://www.e-e.com/Q_24236806.html
    http://www.e-e.com/Q_21196777.html
    http://www.e-e.com/Q_20844678.html
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
It’s been over a month into 2017, and there is already a sophisticated Gmail phishing email making it rounds. New techniques and tactics, have given hackers a way to authentically impersonate your contacts.How it Works The attack works by targeti…
Basics of query design. Shows you how to construct a simple query by adding tables, perform joins, defining output columns, perform sorting, and apply criteria.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question