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