Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

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

Posted on 2010-09-21
5
Medium Priority
?
720 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 2000 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

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
Suggested Courses

577 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