Solved

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

Posted on 2010-09-21
5
688 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
Comment Utility
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
Comment Utility
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
Comment Utility
0
 

Author Comment

by:synapse88
Comment Utility
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
Comment Utility
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
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…
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…

771 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now