Q

Find and use opendatabase dialog properties

I have been looking everywhere to find (and use) the properties of the opendatabase dialog. I just want to get the serverdatabasepathdatabase name to add as text to a profile document that will be used by an application. I can get the open database dialog to prompt but I have not been able to access this information. Help.
If you have a fairly recent version of Notes, you don't need the API. Use the NotesUIWorkspace.Prompt method to ask the user to select a database. Here's a code sample:

        Dim wksp As New NotesUIWorkspace 
        Dim result As Variant 
        result = wksp.Prompt(13, 
"Select database", "Please choose a 
database") 
        If Not Isempty(result) Then 
                Msgbox {server = "} 
& result(0) & {", filepath = "} & result
(1) & {", title = "} & result(2) & {"} 
        End If 

If all you're doing is writing these values into fields, I would use macro language; it's more concise. For that, use @Prompt([CHOOSEDATABASE]...).

Do you have comments on this Ask the Expert question and response? Let us know.

Dig Deeper on Lotus Notes Domino Database Management

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchDataCenter

SearchContentManagement

Close