Consulting

Results 1 to 4 of 4

Thread: Sleeper: Lotus Notes view to excel sheet

  1. #1
    VBAX Newbie
    Joined
    Aug 2005
    Location
    Montreal
    Posts
    1
    Location

    Sleeper: Lotus Notes view to excel sheet

    Hi,

    I'd like to know if there is any way to ask excel to get data from a view in a Lotus Notes database.

    I'd like to have 2 dropdown lists, one for the database, another for a view, clic OK and TADAAAAA! the data is in here in a sheet...

    sounds like crazy huh? I'm sure VB can handle this...
    Thanks for any help!

  2. #2
    Yeah I have 'researched' this question also.

    It can be done with database connectivity feature of excel (ie Import external data / database query etc etc).

    The problem is that Lotus Notes doesnt have a native db-interface that excel can use (as far as I can tell).

    However, the solution seems to be to use NotesSQL which is a driver that exposes an ODBC interface to third party data consumers. Through this interface you should be able to connect from excel to notesdb.

    I (sadly) havent had the chance to try this solution myself.

    Please report back if you used this or other solution. I'd like to know how this would be solved =)

  3. #3
    VBAX Regular
    Joined
    Jun 2005
    Location
    Sydney
    Posts
    60
    Location
    I have tried this in the past with mixed success. As Splashscreen says, you need to download NotesSQL, which simulates ODBC. However, it only works with views. So you need to have a view already set up in Notes that has all the data you require for your extract in a flat structure.

    I had it working, but then had to rebuild my computer and since have been unsuccessful in getting it running again. Perhaps I will try again now.

  4. #4
    VBAX Mentor XL-Dennis's Avatar
    Joined
    May 2004
    Location
    ?stersund, Sweden
    Posts
    499
    Location
    Hi,

    What about using SQL to query the database by using ADO?

    Here is a simple example to retrieve e-mailaddresses from a Notes-database:
    http://www.excelkb.com/article.aspx?...4&cNode=1X5M7A

    I have only been working with stored procedures with SQL Server / Oracle / DB2 and MySQL so I'm not sure how to use stored procedures with a Notes-database.

    Kind regards,
    Dennis
    Kind regards,
    Dennis

    ExcelKB | .NET & Excel | 2nd edition PED


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •