Home » Developer & Programmer » Forms » Folder Functionality - Prompt not displaying (Forms Builder 6i)
Folder Functionality - Prompt not displaying [message #304744] Thu, 06 March 2008 08:14 Go to next message
prakashj
Messages: 1
Registered: March 2008
Junior Member
Hi,

I am trying to enable folder functionality in my custom form (master-detail) for Oracle applications (11.5.10). All the folder functionality is working as expected but for this small problem.

The custom folder is on the line block and the prompts do not appear when the form is opened (when-new-form-instance). They only show up after I click on any line level record.

Any ideas what I might be missing or what I need to do so as to display the folder prompts when the form opens.

Thanks a lot

Prakash
Re: Folder Functionality - Prompt not displaying [message #304939 is a reply to message #304744] Fri, 07 March 2008 04:45 Go to previous message
Flash
Messages: 34
Registered: February 2008
Member
Hi Prakash,

You have to enter a dummy field named in your prompt block. Have you done that ?

Check these
------------


PROMPT Block:
Create new block (PROMPT) which will contain prompts for the column displayed in upper block. This block should contain:
Items which will be prompt for above block columns (Item name should be same as Column name in above block). Prompt Items should be on Stacked canvas (PROJECT_STACK).

Create the below items under the PROMPT block:

Item Name: FOLDER_OPEN, Item Type: Button, Canvas: PROJECT_FOLDER
Item Name: FOLDER_DUMMY, Item Type: Text Item, Canvas: TOOLBAR
Item Name: FOLDER_TITLE, Item Type: Display Item, Canvas: PROJECT_FOLDER
Item Name: ORDER_BY1, Item Type: Button, Canvas: PROJECT_STACK
Item Name: ORDER_BY2, Item Type: Button, Canvas: PROJECT_STACK
Item Name: ORDER_BY3, Item Type: Button, Canvas: PROJECT_STACK

Form Level Triggers:
FOLDER_ACTION
-- Remove the message and uncomment the line after it to activate the folder actions.
-- message (‘you must modify the FOLDER_ACTION trigger in your form!');
app_folder.event(:global.folder_action);

WHEN-NEW-FORM-INSTANCE
app_folder.define_folder_block('BLOCKNAME', -- Object Name
'BLOCKNAME', -- Folder Block
'PROMPT', -- Prompt Block
'PROJECT_STACK', -- Stacked Canvas
'PROJECT_FOLDER', -- Window
NULL); -- Disabled Functions


Thanks
Flash
Previous Topic: Calender Files
Next Topic: How to show the alert 'Do you want to save?' after entering each record. & Is there a way to sho
Goto Forum:
  


Current Time: Sat Dec 10 01:05:16 CST 2016

Total time taken to generate the page: 0.04876 seconds