Mastering PowerBuilder

HomePrevious Lesson: Course 3:: Session 28 :: Page 20
Next Lesson: Course 3:: Session 28 :: Page 40
PowerBuilder Library for Lotus Notes - An Overview

This library used to come as a separate package till version 5.0. However, this library comes as part of the enterprise PowerBuilder CD. This library is not installed when you do a 'Typical Installation'. You need to do 'Custom Installation' and select this option from the 'PowerBuilder 5.0' category.

The following objects are available in the QNOTES.PBL library.

Object Name Description
QNotefe  
n_cst_notes_service Provides the library services to your application.
u_notes_object A standard visual DataWindow user object that allows you to access Lotus Notes database and has overwritten functions --such as Retrieve(), Update(), etc…
u_selector TreeView user object. You can use this object to allow the user to select a Lotus Notes server, database, etc.
d_form_description This object displays the description of Lotus Notes database form fields.
w_file_pbl_select Allows you to select a PowerBuilder library.
w_form_desc Allows you to specify a form.
w_qnote_fe Main application window.
w_query_desc Allows you to specify a query.
w_vn_select Allows you to browse and select Lotus Notes servers & databases. It uses u_selector user object.
s_attachment  
s_database_info  
s_desc_pbl  
s_dw_describe  
s_form_export  
s_form_export_array  
s_form_info  
s_item_list  
s_note_info  
s_oid  
s_replicafilestats  
s_replicaStats  
s_time_date  
s_unid  
s_view_export  

To develop PowerBuilder applications that access Lotus Notes databases, you don't have to use these libraries; Instead you can call API's that are available in QNotes.PBL. However, using these objects you can create the required PowerBuilder objects to access Lotus Notes database very easily and quickly. These objects generate the DataWindow objects that simulate forms, views and queries.

HomePrevious Lesson: Course 3:: Session 28 :: Page 20
Next Lesson: Course 3:: Session 28 :: Page 40