Using local browse without the filename dislayed.

Posted on 2004-10-04
Last Modified: 2013-12-18
Hi! Experts,
        I'm using this on a button on my form
        FIELD fld_filelocation := @Prompt([LocalBrowse]; "Select a database to open"; "1");""
now this displays C:\Lotus\Notes\Data\log.nsf.

Question:   How can it not include log.nsf when it displays.

Question by:cyle

Expert Comment

ID: 12221116
I'm not sure if I'm getting your question right, but if you want to make fld_filelocation equal just "C:\Lotus\Notes\Data" without the log.nsf part, you can just do it this way:

FIELD fld_filelocation := @Left(@Prompt([LocalBrowse]; "Select a database to open"; "1"); "\\");""

Author Comment

ID: 12221374
This is the right track but this gives me only C:
LVL 14

Accepted Solution

p_partha earned 500 total points
ID: 12221474
FIELD fld_filelocation := @leftback(@Prompt([LOCALBROWSE]; "Select a database to open"; "1"); "\\");""


Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now