Home » Developer & Programmer » Forms » globally available table in forms (Oracle Forms 10g)
icon3.gif  globally available table in forms [message #290365] Fri, 28 December 2007 09:55 Go to next message
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 #290628 is a reply to message #290365] Sun, 30 December 2007 22:40 Go to previous messageGo to next message
mintomohan
Messages: 104
Registered: November 2006
Location: India
Senior Member
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 #290659 is a reply to message #290628] Mon, 31 December 2007 01:09 Go to previous messageGo to next message
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 #291794 is a reply to message #290365] Sun, 06 January 2008 23:04 Go to previous messageGo to next message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
You could also create a 'record_group'.

David
Re: globally available table in forms [message #291798 is a reply to message #291794] Sun, 06 January 2008 23:22 Go to previous messageGo to next message
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.
Re: globally available table in forms [message #292405 is a reply to message #291798] Tue, 08 January 2008 21:37 Go to previous message
djmartin
Messages: 10180
Registered: March 2005
Location: Canberra ACT Australia
Senior Member
Account Moderator
Agreed.

David
Previous Topic: where can i found forms & reports 6i best books
Next Topic: Help: How do I display canvas banner/Graphic image from jar file
Goto Forum:
  


Current Time: Thu Dec 08 20:11:11 CST 2016

Total time taken to generate the page: 0.10530 seconds