Solved

Using local browse without the filename dislayed.

Posted on 2004-10-04
3
321 Views
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.

Thanks.
0
Comment
Question by:cyle
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 9

Expert Comment

by:HappyFunBall
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"); "\\");""
0
 

Author Comment

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

Accepted Solution

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

Partha
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

726 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