Solved

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

Posted on 2010-09-21
5
701 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Access custom database properties are useful for storing miscellaneous bits of information in a format that persists through database closing and reopening.  This article shows how to create and use them.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

679 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