| Home | Previous Lesson: Course 3:: Session 28 :: Page 40 Next Lesson: Course 3:: Session 28 :: Page 60 |
| Creating
a DataWindow to simulate a Lotus Notes View As explained earlier, a Lotus Notes view is a list of documents available in the specified Lotus Notes database. Run the 'QNOTESFE.EXE' and click on the 'Select' button.
From the displayed window, you can see the TreeView control interface that has a listing of all the installed servers. You need to select the server ('LOCAL' server in the picture) and select the database ( 'Business Card Request' database in this case ). Then select the view ( 'All Requests\By Organization' in this case ) for which you want create a DataWindow object and click 'OK' button.
In the Lotus Notes view naming conventions, each slash in the view name refers to a submenu option. That means, in the above view 'By Organization' is displayed under the 'All Requests' menu.
If you open PowerBuilder library painter, you can find the generated DataWindow object and you can edit that DataWindow object in the DataWindow painter like any other regular DataWindow object with one exception. You can't edit the data source. You can remove columns from various bands and adjust lengths and font properties and so on. If the view definition is changed in the Lotus Notes database, you need to recreate the DataWindow object. |
| Home | Previous Lesson: Course 3:: Session 28 :: Page 40 Next Lesson: Course 3:: Session 28 :: Page 60 |