I need to present to a user a list of forms that are in a DB. The User picks the server and DB then upon the user clicking on a buttonI need to present a list of all forms in that db so that they user can pick the form that they want to work with.
I also need to do the same with View names.
Anybody have an idea on how to do this?
Please no C or C++ api solutions…
Subject: In LotusScript NotesDatabase.
You can use the NotesDatabase class to get a list of forms and views in the database.
For example:
Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
Forall form In db.Forms
Messagebox form.Name
End Forall
Dim views As Variant
views = db.Views
Forall v In views
Messagebox( v.Name )
End Forall
End Sub
Subject: Thanks this worked perfectly