Home > Ask the Domino Experts > Domino Development Questions & Answers > Accessing documents in a Lotus Notes database
Ask The Domino Expert: Questions & Answers
EMAIL THIS

Accessing documents in a Lotus Notes database

Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 06 December 2006
I am brand new to Lotus Notes and Domino. I am having trouble understanding how to access documents in a Lotus Notes database. I am coming from IBM DB2 and RPG. How do I find one document and display it in a form? How do I get data from one database and combine it with another? I am happy to read any good books or online references; I just don't know where to start. Thanks.

>
EXPERT RESPONSE
The Redbook Domino Designer 6 A Developer's Handbook is a good place to start. Notes/Domino is very unlike the relational database you're used to. There are no joins. You can design forms that use key data in the current document to look up data from views in the same or other databases, and display those values on the form without storing them there. But you can't do that in a view.

Starting with Notes/Domino Version 7, you can do a join. You can back-end the Lotus Notes database with DB2, and use DB2 Access Views and Query Views to publish selected Lotus Notes fields in relational tables. You can then build a Query View that displays data from those tables. The Select statement is written in SQL, so your DB2 knowledge will come in handy.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchDomino.com:

  • Learning Guide: DB2
  • Tip: DECS and DCR external data access considerations
  • Tip: Changing a Lotus Notes database mail file from 'archive' to 'mail'
  • Reference Center: Lotus Notes/Domino database resources and tips


  • Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


    RELATED CONTENT
    Domino Development
    'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
    How to make computed fields recalculate
    Sending and logging faxes from Lotus Notes and Domino
    Adding an action to the Lotus Notes right-click menu
    Writing temporary text files that email as attachments
    Trapping the on-click event of a radio button
    Copying a form object using LotusScript
    Connecting to a remote DB2 server with LEI
    Lotus Notes' document check-in/check-out functionality
    JavaScript causing errors in Lotus Notes client

    Lotus Notes Domino Coding and Development
    Tutorial: 30 LotusScript tips
    A bevy of Notes/Domino development tips
    A Formula language for Lotus Notes introduction -- 7 tips in 7 minutes
    Top 10 Notes/Domino developer tips of 2006
    Sending and logging faxes from Lotus Notes and Domino
    A smorgasbord of Notes/Domino development tips
    Creating a Lotus Notes view column categorized by month
    A project-tracking application for Lotus Notes Domino
    What the new Office means for developers
    Special Report: How much is that SOA in the window?, part 1

    Lotus Notes Domino Database Management
    Lotus Notes Domino database management and maintenance pointers
    Lotus Notes access error: 'database is not opened yet'
    Programmatically replace the design of Lotus Notes databases
    Add a program doc to compact Lotus Notes databases automatically
    Set a value in a field existing in another Lotus Notes database
    'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
    Shrink Lotus Notes databases with many attachments
    Remove orphaned Lotus Notes documents on Domino databases with a 'virtual delete'
    Copy Lotus Notes databases from the Domino Server console command line
    Tutorial: How to import data into Lotus Notes -- without programming

    RELATED RESOURCES
    2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
    Search Bitpipe.com for the latest white papers and business webcasts
    Whatis.com, the online computer dictionary



    Search and Browse the Expert Answer Center
    Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
    Browse our Expert Advice

    HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
    About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
    SEARCH 
    TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

    TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




    All Rights Reserved, Copyright 1999 - 2008, TechTarget | Read our Privacy Policy
      TechTarget - The IT Media ROI Experts