globally available table in forms [message #290365] |
Fri, 28 December 2007 09:55 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bugslayer
Messages: 7 Registered: December 2007
|
Junior Member |
|
|
Hello All,
First of all- my apologies if this sounds too lame!
I have a form in which i get a list of file names via WEBUTIL_FILE.FILE_MULTI_SELECTION_DIALOG ( in a WHEN-BUTTON-PRESSED trigger). I need to upload these files to the server, when another button's trigger. Is there a way to make this FILE_LIST globally available?
One option, i could think of is to insert into a table and retrieve it later.
Could you folks be kind enough to suggest a better alternative?
Regards,
~bugslayer~
|
|
|
|
Re: globally available table in forms [message #290659 is a reply to message #290628] |
Mon, 31 December 2007 01:09 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bugslayer
Messages: 7 Registered: December 2007
|
Junior Member |
|
|
Thanks Minto!
mintomohan wrote on Mon, 31 December 2007 10:10 | hi,
you can create a package in the program unit of the form and declare the FILE_LIST variable in the package. Thus you can access it from two different button triggers.
Minto
|
|
|
|
|
Re: globally available table in forms [message #291798 is a reply to message #291794] |
Sun, 06 January 2008 23:22 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
bugslayer
Messages: 7 Registered: December 2007
|
Junior Member |
|
|
Thank you for the suggestion David.
Before I posted to this forum, I was toying with the idea of using a parameter list. Minto's suggestion of creating a variable in a package( of type FILE_LIST) appelaed to me, cuz it takes fewer lines of code to get the job done.
|
|
|
|