How to use Choose db using prompt in lotus script .If not possible in notesclass can we use @Prompt to choose a db in the script with the evaluate statement.
Subject: How to use Choose db using prompt in lotus script
Hi,in version 6.0 PROMPT_CHOOSEDATABASE is not implementet. But the integer 13 works.
Here is a short example code:
Dim session As New NotesSession
Dim ws As New NotesUIWorkspace
Dim db As NotesDatabase
Dim srv As String, path As String
Dim rc
rc = ws.Prompt(13, “Title”, “Please choose the database”)
srv = rc(0)
path = rc(1)
Set db = session.GetDatabase(srv, path)
Subject: ok how to remove the db Icon
Thanks for the answer
Is rc a variant . ok then how can i need to remove the database icon from workspace.i mean in the client side using the path i have .
Subject: RE: How to use Choose db using prompt in lotus script
Actually i need to open the database and then remove the database icon from the workspace in the client side.
Subject: RE: How to use Choose db using prompt in lotus script
All I know is the command@Command([FileDatabaseRemove])
But this does not work while the database is open in UI.
But in NotesUIWorkspace.OpenDatabase you can spezify temp (boolean). Then the database is not added to the users workspace.