How to get number in words in Oracle 10g reports
How to get number in words we are using Oracle 10g software and in reports, I am trying to give as function code and return value as placeholder, but I am getting an error as foll.Rep:1401 'cf_1formula': fatal PL/SQL error occurred.Thanks in advancekrishnan r
"sql Set Serveroutput On 1000000 Declare V_Input NUMBER := &TESTED; Function Numbertowords(P_Number In Out Number) Return Varchar2 Is V_Words Varchar2(32767) := ; V_Te...
Question is not clear to me. Specify some details what exactly you want to do?
How will you post two independent transactions in forms 6i
Declare the PRAGMA AUTONOMUS_TRANSACTION; in Procedure,Package,Function/Anonymous Block etc.
What are dynamic reports? How will you create them
Dynamic Reports are the Reports which is based on the GLOBAL_TEMPORARY TABLE. can be used in BEFORE RUN REPORT Trigger to populate the Data into that table by calling function/procedure. After report ...
Can we use program unit in a display field to create a formula calculated item?
Yes we can, in WHEN-NEW-RECORD-INSTANCE Trigger.
In the manual datablock , we will get records from database then I need to get each row in different color ......I am using the set_item_property('blockname.Item',current_row_background_color,'red');plz help me.............
You can use SET_BLOCK_PROPERTY(blk_name,record_no, CURRENT_RECORD_ATTRIBUTE,Visual_attribute_name); Must create two Visual Attributes one with yellow background color one with default name them VA_Y...
Code
SET_ITEM_PROPERTY(ACCOUNT_MASTER.ACCT_NO,CURRENT_ROW_BACKGROUND_COLOR,r100g50b0); SET_ITEM_PROPERTY(ACCOUNT_MASTER.ACCT_NO,CURRENT_ROW_FOREGROUND_COLOR,r100g100b88);
It is c. Character data type.
It is of type Character as you always compare
if :system.last_record = 'TRUE' then
........
........
end if;
How do you pass the parameters from one form to another form?
to pass one or more parameters to a called form, the calling form must perform the following steps in a trigger or user named routine execute the create_parameter_list built-in function to programmatically. create a parameter ...
Calling form must first create parameters under the parameter node.
Create parameter list.
Add required parameters with add_parameter(receiving_parameter_name, field type, sending_parameter_name)
Now pass this into call_form or open_form built_in procedure.
It is not directly supported in forms, but FORMS_DDL built in can be used to TRUNCATE the table.
yes
create procedure truncatetable(tname in varchar2) is
sqlstr varchar2(100);
begin
sqlstr := 'truncate table '||tname;
execute immediate sqlstr;
end;
I want to make two lists in an Oracle form. Each list will be holding three elements. These elements are same for two lists. If one element is selected in one list that will not come in the other list. That means the other list will show only two elements. How can I do that dynamically ?
use record group to hold the values of list items selected in first list populate second list dynamically only the items that you need and not contained in record group.
How can I get off a error message Oracle form a0001 ask me to save the record when I change a record to other ?
If it an oracle error you are trying to trap than I would use ON-ERROR trigger on specific block, use built ins DBMS_ERROR_CODE, DBMS_ERROR_TEXT to trap the error.
I would write ON_MESSAGE trigger on block level, trap particular message with built ins MESSAGE_CODE, MESSAGE_TEXT and handle the error...
Actual I am uploading the excel sheet data in the customer system that must generate into server system and store that excel sheet data into the particular database table...Plz help me.....We r trying from so many days ... My task has been stop there
Following Step need to setup before executing the Conversion Script Step 1: Logon to the Database server and connect to the database. Step 2: Run the below query and it should return five records: ...
Definitions, usage and its information in Oracle forms 9i
Oracle Applications - Folder Functionality are made use of in custom forms. Folder Functionality enables user to perform host of actions on fields such as ordering, renaming, resizing, moving, including, excluding etc., in a multi-row block.
How to populate list dynamically?
First: check through Get_List_Element built_ins method that the both list has been selected with the value or not? if none is selected then all values should be populated . Second: Declare a varray a...
Create this procedure first:PROCEDURE Pop_List IS /* ** Built-in: CREATE_GROUP_FROM_QUERY **Example: Create a record group from a query, and populate it. */ list_id ITEM; list_name VARCHAR2(40) := &...
a piece of logic that is executed at or triggered by a SQL *forms event.
Triggers are a special PL/SQL construct similar to procedures. However, a procedure is executed explicitly from another block via a procedure call, while a trigger is executed implicitly whenever the triggering event happens. The triggering event is either a INSERT, DELETE, or UPDATE command.
A forms trigger is a block of PL/SQL code that adds functionality to your application. Triggers are attached to objects in your application. When a trigger is fired, it executes the code it contai...
Can a single canvas have multiple windows ?
no
a single canvas have multiple windows :: NO
a single windows have multiple canvas :: yes
Valid settings for the initial value property
In an order entry form, the order_items block has a text item called shipping_date, which is of the date data type the lowest allowed value and the highest allowed value properties are not defined for this item.Assuming that all of the following are defined, which three are valid settings for the initial...
Valid values are: A, B & DIn forms, to give initial value as sysdate, we should user $$DBDATE$$ which gives the current time of server, which stores date of DD-MON-YYYY format. If you want to stor...
What erase package procedure does ?
erase removes an indicated GLobal variable.
Erase removes an indicated global variable and releases the memory associated with it.
Property pallete is used to apply changes to only that object item, as visual attributes are used in more generic manner. Visual attributes are used in the projects in which common specific...
Visual Attribute is the property in Property Pallete of object which deals with only text font,colour.
pre-query fires once. post-query fires 10 times.
PRE-QUERY fire once when block goes in execute-query Mode.
and
POST-QUERY fire=TOTAL NUMBER OF RECORDS RETRIEVED.
in the above case POST-QUERY fires 10 times.
use I/O package .