Using local browse without the filename dislayed.

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.
cyleAsked:
Who is Participating?
 
p_parthaConnect With a Mentor Commented:
FIELD fld_filelocation := @leftback(@Prompt([LOCALBROWSE]; "Select a database to open"; "1"); "\\");""

Partha
0
 
HappyFunBallCommented:
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
 
cyleAuthor Commented:
This is the right track but this gives me only C:
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.