Lotusscript Open Database DIalog

I'm looking for a way to do in LotusScript an open database dialog just as if I did a control-O from the client. Perhaps pre-populate the server field. How could this be done?

NotesUIWorkspace.OpenFileDialog isn't what I'm looking for as it only looks on my local PC and includes all files. I just want to return the name of the database on the server that I've selected.

You already found the right class, you just selected the wrong method: NotesUiWorkspace.Prompt( PROMPT_CHOOSEDATABASE ... ) is the right method.

From that page:

RETURN VALUE: Variant array of type String or EMPTY. The return value is a three-element array of strings, containing the server, filepath, and title of the database, in that order. Cancel returns EMPTY.

hope that helps.

Thank You! I knew it was in there somewhere. I looked at that class's help all afternoon!

Brain Cramp!