File Browser in BR

General development discussion.

Moderators: Susan Smith, admin, Gabriel

Post Reply
dmeenen
Posts: 50
Joined: Mon Jun 08, 2009 8:34 pm
Contact:

File Browser in BR

Post by dmeenen »

Here is the File Browser code from the BR Wiki:
A File Browser Control ( client side only ) is supported

OPEN #99: "NAME= OPEN|SAVE:starting-directory[mask], ..."

Specify OPEN or SAVE to indicate what style of file selection box should be used. The colon is required. If you wish to use the current directory as a starting point then use a period. (e.g. OPEN:. ) The mask is a wildcard filename mask that may contain question marks and asterisks.

e.g.

OPEN #99: "NAME= OPEN:.*.PRL],SHR",INTERNAL,INPUT,RELATIVE

My code is on a standalone Windows pc:
OPEN #99: "NAME= OPEN:.[*[wsid].LST],SHR",INTERNAL,INPUT,RELATIVE

I only want the reports that relate to my WSID in the File Selection box.

The files do not show up in the selection box.

No matter what I code - nothing shows up to select.
See attached screen shot.
Anyone have a solution to this problem, or is it a bug?

Doug Meenen
Attachments
screen shot of problem
screen shot of problem
File_Browser_problem.jpg (315.59 KiB) Viewed 4907 times
John
Posts: 555
Joined: Sun Apr 26, 2009 8:27 am

Post by John »

Try this one:

OPEN #99: "NAME= OPEN:fun files (*."&wsid$&".lst) |*"&wsid$&".lst,SHR",INTERNAL,INPUT,RELATIVE

I think you had the description but not the type of file... the example (above) at least sees files like you're looking for.

-john bowman
Post Reply