Page 1 of 1

File Browser in BR

Posted: Thu Oct 18, 2012 9:29 am
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

Posted: Sun Dec 02, 2012 11:51 am
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