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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

861 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

23 Experts available now in Live!

Get 1:1 Help Now