ORA-06503/rep-1401 with my second report

Hello :D

im doing my second report (new reports, student homes)

I met REP-1401-'cf_itemtypeformula': PL/SQL unrecoverable error occurred.

then I tried to trace the error with srw.message () in some parts of the code in order to try to understand the problem

Here are cf_itemtype currently

function CF_itemtypeFormula returns the Char type is
IType char (60);
Start
SRW.message (1000, 'element type is' |: p_itemtype);
-return ' ';
If: p_itemtype = "%-ALL" then
IType: =' ';
SRW.message (1005, 'itype code is' |) IType);
return itype;
on the other
SRW.message (1003, 'element type is' |: p_itemtype); -It prints it
IType: =' AND il.itty_code = itty.code and itty.item_type = "' | : p_itemtype | " ' ';
-itype: =' ';
SRW.message (1005, 'itype code is' |) IType); - and never reaches this line I think.
return itype;
end if;
exception
When value_error then
SRW.message (1007, 'value error');
end;

I think the error is because of this line

«AND il.itty_code = itty.code and itty.item_type = "'|: p_itemtype |"» ' '

because when I comment on him and uncomment itype: =' '; the srw.message (1005, 'itype code is' |) IType); works

Thank you

An important point to mention that I forgot in the last post.

Since you use the return value of the function in the query, you must use a parameter for it rather than a column of formulas.

So your request will be as were p_defwhere and p_itemtype are the settings of the user.

select il.code, get_item_desc(il.code, il.cate_code, il.itty_code, il.itgr_code) item_desc, il.uome_code, il.cate_code
from inv_items_log il, inv_item_types itty
where 1 = 1
AND il.itty_code= itty.code and itty.item_type = NVL (:p_itemtype, itty.item_type)
&p_defwhere

Also change the query for the LOV of the parameter in the form:

select Null FROM DUAL
union all
select distinct(item_type) from inv_item_types

Please clarify your problem and what exactly do you get the best solution

Better compliance

Arif Khadas

Tags: Oracle Development

Similar Questions

  • Rep-1401 error, ora-01722

    Hello
    In report 6i, is to show the error 'Rep-1401, ora-01722' in the formula of CF_1FORMULA0005 below.

    And in the formula of the query "select count (*) into ra_customer_trx_all c.
    where nvl (to_number (interface_header_attribute1), 0) =: order_number
    and nvl(interface_header_attribute3,'') =: invoice_number; »

    Here the: order_number is the data type of number and interface_header_attribute1 is the Char data type.

    may be problem existing in this query. Then please suggest a solution to solve the problem. I can rewrite the query?


    --------------------------------------------------------------------------------------------
    function CF_1FORMULA0005 returns the number is
    x number: = 0;
    c number;
    Start
    Select count (*) in the ra_customer_trx_all c
    where nvl (to_number (interface_header_attribute1), 0) =: order_number
    and nvl(interface_header_attribute3,'') =: invoice_number;

    If c = 1 then
    Select nvl(doc_sequence_value,0) x ra_customer_trx_all where to_number (nvl(interface_header_attribute1,0)) =: order_number
    and nvl (interface_header_attribute3,' ') =: invoice_number;
    on the other
    x: = 0;
    end if;
    Nvl (x, 0) return;
    end;

    I think the problem is that

    to_number(interface_header_attribute1)
    

    fails when there are no numeric values in interface_header_attribute1.

    You can write a function stored in the database to convert float values to multiple values.
    These function must intercept conversion errors and return a default value appropriate (or null).

    You can then use your own function place buildin to_number function.

    Published by: hm the 05.09.2011 01:25

  • REP-1401 - very strange error

    DB 10G

    reports 6i.

    It's a report execution with the parameters of the existing company and date code. Suddenly by a particular (ex 'X 001') company code and the date given (1 January 2014"), report is end up with error REP-1401 - fatal error in PL/SQL CF_1formula.

    He works for other dates with the same company code.

    For other company code for this date of January 1, 2014 "report is running.

    After GOOGLE cooking, I'm tired as many people encountered this error, but none of them provide a positive feedback.

    So, I tried like below

    Given that the error comes from the formula CF_1... I just deleted the formula in the report and tried to run the report without this formula. Even after the removal of formula CF_1, I get the same "EP-1401 - CF_1formula fatal error." PL/SQL"error.

    How it is possible that I have no such object so how does.

    Request report expert to help me on this issue.

    Thank you

    Hello.. Root of the problem is identified and corrected.

    Here's how,.

    In the report, there is a column of formulas with the name "CF_1" - Thiis Query side as - summary report...  1

    Data model it is a column of formulas called "Annotation", but the formula of service name is 'Function CF_1Formula'... 2

    We have removed the first object, since keeping getting the same, tried looking for the same object, then found the second object that. Error of this fist because of shor of the length size.

    Now the sixe has increased and so deliver fiexe

  • I want to generate a second report to the test.

    I have a test setup that runs production units and generates reports that I have defined without any problem. Now, it is desirable that I create a report 'summary' as well. So I have the original report that is generated with all the details of the tests that were performed. Now a report that essentially shows what tests have been performed and the State of success/failure of each only be generated. I know that I can go and do the writing of this article to an Excel spreadsheet or something similar. I was wondering if there was a native way of the test bench it could be done first.

    Thanks in advance for any help.

    Troy

    To create the second report, go to configure-> result processing and click on the ' + '.  You will be able to modify your second report as needed.

    Pulido Technologies LLC

  • ORA-06503: PL/SQL: function returned no value ORA-06512:

    Hi all

    SQL > set serveroutput on

    SQL > CREATE OR replace FUNCTION qty_value (p_item_id number)

    2 RETURN NUMBER

    3 EAST

    4 v_qty_arrival NUMBER;

    5 BEGIN

    6. SELECT THE CASE SENSITIVE OPTION

    7. WHAT (SUM (b.quantity) - SUM (b.quantity_received)) < = 0 THEN 0

    8 ELSE (SUM (b.quantity) - SUM (b.quantity_received))

    9 END Qty_Arrival

    10 INTO v_qty_arrival

    Po_lines_all 11 a,

    po_line_locations_all 12 b

    13 WHERE a.po_line_id = b.po_line_id

    14 AND a.item_id = p_item_id;

    15 EXCEPTION

    16 THEN THAN OTHERS THEN

    17 v_qty_arrival: = NULL;

    18 RETURN v_qty_arrival;

    19 END qty_value;

    20.

    The function is created.

    SQL >

    SQL > select xxc_qty_arrivale (214960) double

    2.

    Select xxc_qty_arrivale (214960) double

    *

    ERROR on line 1:

    ORA-06503: PL/SQL: function returned no value

    ORA-06512: at the 'APPS '. XXC_QTY_ARRIVALE', line 19

    Back AFTER using the exception block is fine as long as your code actually REACHED the exception block.

    When there are no errors, then your code will not enter the exception block, but you still NEED to return a value, since it is what functions a function wants to return a value, that's what the functions are made for.

    Spot the differences between the following 3 functions. Understand how they work.

    The first function has only a return in the exception block but runs correctly. Result: error, because the back is missing in the code block.

    The second function has a return in the exception block and one in the block of code and runs correctly. Result: no error, because the return is not missing in the code block.

    The third function has a return in the exception block and one in the block of code and is forced into an error. Result: no error, because the return of the exception handler is used (instead of retriggering of the error, which you would normally do).

    SQL > create or replace function myfunc

    2 return number

    3 as

    4 start

    5 dbms_output.put_line ('in the section of code');

    6 null;

    7 exception

    8 then than others

    9. can

    10 dbms_output.put_line (' in the exception handler ' |) SQLERRM);

    11      --

    12 return 0;

    13      --

    14 end;

    15.

    The function is created.

    SQL > select double myfunc;

    Select double myfunc

    *

    ERROR on line 1:

    ORA-06503: PL/SQL: function returned no value

    ORA-06512: at "GHPLUS. MYFUNC", line 14

    In the section of code

    SQL > create or replace function myfunc

    2 return number

    3 as

    4 start

    5 dbms_output.put_line ('in the section of code');

    6 null;

    7    --

    8 return 1;

    9    --

    10 exceptional

    11 so that others

    12. can

    13 dbms_output.put_line (' in the exception handler ' |) SQLERRM);

    14      --

    15 return 0;

    16      --

    end 17;

    18.

    The function is created.

    SQL > select double myfunc;

    MYFUNC

    ----------

    1

    1 selected line.

    In the section of code

    SQL > create or replace function myfunc

    2 return number

    3 as

    n number 4;

    5. start

    6 dbms_output.put_line ('in the section of code');

    7 n: = 1/0; -force an error (zero divisor) to join the exception handler

    8    --

    9 return 1;

    10-

    exception 11

    12 so that others

    13. can

    14 dbms_output.put_line (' in the exception handler ' |) SQLERRM);

    15      --

    16 return 0;

    17      --

    18 end;

    19.

    The function is created.

    SQL > select double myfunc;

    MYFUNC

    ----------

    0

    1 selected line.

    In the section of code

    In the handler for exception ORA-01476: divisor is equal to zero

    SQL >

  • Fake call Tx detected with 160 seconds timeout

    I just upgraded ESXi hosts to 6 5.5U2 8. 0 b (2809209).  The first host I have improved (a Dell R910) is fine for about a week and then died in the middle of the night Sunday night.  Came to him hung up, couldn't SSH to it, does not respond on the console and was shown as disconnected in vCenter, all virtual machines on it had HA'ed to other hosts.  Should be able to turn off that through iDrac and he came fine.  The syslog feature stopped 9 minutes before the events in vCenter showing he's going down, so I couldn't check the newspaper to see what happened before he went down.  Writing chalked up an anomaly and put back into production.  Less than 24 hours later, woke to pages of our monitoring system of virtual machines on the same host.  These virtual machines are inaccessible.  The host was always sensitive and marked as upward in vCenter.  Cannot open consoles for any of the virtual machines on this host.  Was able to SSH in the host and it was in the vmkernel.log:

    (2015 08-11 T 11: 14:52.338Z cpu23:33245) < 6 > 0000:41:00.0 ixgbe: vmnic4: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic5: transmit timed out

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) < 6 > ixgbe 0000:41:00.1: vmnic5: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic4: transmit timed out

    (2015 08-11 T 11: 14:53.340Z cpu23:33256) < 6 > 0000:41:00.0 ixgbe: vmnic4: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic5: transmit timed out

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) < 6 > ixgbe 0000:41:00.1: vmnic5: hang Fake Tx detected with 160 seconds timeout

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) WARNING: Linnet: netdev_watchdog:3678: NETDEV WATCHDOG: vmnic4: transmit timed out

    (2015 08-11 T 11: 14:54.342Z cpu19:33251) < 6 > 0000:41:00.0 ixgbe: vmnic4: hang Fake Tx detected with 160 seconds timeout

    These repeated again and again many times per second.  The host locked again shortly after and had to be restarted to force the VMs system HA to other hosts.

    The vmnic4 and vmnic5 are ports on the same Intel NETWORK adapter X 520-2 (two ports), Intel, not the re-brand of Dell version version.  We have two of these network adapters in each host with the ports of the other card of the NETWORK being vmnic6 and vmnic7.  vmnic4 and vmnic6 go to our network local, vmnic5 and 7 go to our iSCSI network.  These cards use the IGB driver (ethtool reports 3.21.6iov * last * with firmware version 0x61c10001).  TSO and LRO are off due to problems that we already had.  I spent yesterday upgrading all the firmware on the host of problem but the Intel X 520 - 2 does not appear to be newer firmware that I can find, even if Dell seems to have a version for it which does not apply to these network cards Intel version.

    The host of problem is currently in production with a very low charge on it for more than 24 hours so far and I am increasing the load on a regular basis to see if it eventually bombs again.

    Googling "Fake Tx crash detected" results in a lot of older hits, mostly from the Linux IGB problems associated with pilots.  Nothing to really related to VMware.  And nothing that seems relevant.

    Any ideas?  Find it me hard to believe that the NIC itself suddenly has gone wrong that this host has been with us for years without problems until we went to 6. 0b.  I have an another R910 which was bought at the same time that I'm tired of the upgrade that I can't have two hosts having problems it would cause problems of capacity within our cluster.

    Say that there is no work around and the only solution was to go down to 5.5U2 when I opened a SR with VMware, I discovered other ways there is a workaround script that seems to change the management of interruptions of CPU from automatic to manual, which is supposed to be the cause of this problem.  Why VMware is distributing this script to some people and not others that I don't know, I hope it was just the tech who worked my case not having is no knowledge of the script of the workaround at the time said.

    EDIT: I should add that since the purpose of this script to our guests, we have not seen the problem still happen when I had three accidents in the first week.  /knockonwood

  • FRM - 40735:WHEN - BUTTON-trigger PRESS raised unhandled exception ORA-06503

    Hi all...
    I develop a form on the form 6i like a registration form...

    Suppose emp_name is a text element...

    I need to validate that the point that the number, the null characters and special should not be allowed.

    I created a function to check these postings

    function v_check (p_item_name varchar2)
    return a Boolean value is
    Start

    I'm in 1.length (p_item_name)
    loop
    If substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    Returns false;
    end if;
    end loop;
    end v_check;


    When I click on the save_Record button it commit the form I'm checking the field emp_name with this validation by calling the above function.

    save_Record button, I wrote this WHEN BUTTON PRESSED to code trigger

    declare
    a number;
    Start

    If: iptable.ip_name is null or (not v_check(:iptable.ip_name)) puis)
    set_alert_property ('alert', title, 'validation of name');
    set_alert_property ('alert' ', alert_message_text, ' years spl char null is not allowed ');
    a: = show_alert ('alert');
    go_item ('iptable.ip_name');
    raise form_trigger_failure;
    end if;
    If: system.form_status = 'CHANGED' then

    set_alert_property ('alert', title, 'Save box');
    set_alert_property ("alert", alert_message_text, "Save");
    a: = show_alert ('alert');
    If a = alert_button1 then
    commit_form;
    on the other
    raise form_trigger_failure;
    end if;
    on the other

    set_alert_property ('alert', title, 'Save box');
    set_alert_property ("alert", alert_message_text, "Noting the box save");
    raise form_trigger_failure;

    end if;
    end;


    But I get this
    FRM - 40735:WHEN - BUTTON-trigger PRESS raised unhandled exception ORA-06503

    exception

    How I can fix this error... help me

    Thank you...

    Published by: maddyd2k on November 25, 2010 10:37

    Hello

    Actually your v_check function may return a null value, that is not TRUE nor FALSE.

    Modify your function like this:

    function v_check (p_item_name varchar2)
    return a Boolean value is
    Boolean l_return: = true;
    Start

    I'm in 1.length (p_item_name)
    loop
    If substr(p_item_name,i,'1') in ('1','2','3','$','%','@','!','#') then
    l_return: = false;
    end if;
    end loop;
    Return l_return;
    end v_check;

  • iMac 27 "with the second monitor boots black with cursor

    I can't seem to find another discussion altogether as my problem starting special 'black screen ':

    New iMac 27 "retina 5K (end of 2015) running OS X El Capitan 10.11.3 with second monitor Samsung connected by Mini DP - DVI.  When starting, the two screens are displayed in black, but the cursor is available and can be moved.

    I have to make a hard stop and disconnect the second monitor to start at the login screen. Then I can reconnect the monitor and everything works.

    Any suggestions for a fix?

    So, I spent some time with Apple customer support. Several of the standard troubleshooting for problems of mystery, they came to the conclusion that there was an incompatibility of driver with the Samsung monitor at startup which is mucking things up, and I just have to accept starting with the second disconnected monitor then plug it in again after a successful login.

    Samsung does not write the monitor for Mac drivers (for some reason any), that's why the customer support figures that there is a hangup at startup. But why OS X recognize the monitor and run fine otherwise? Why only hang at boot time? And why my Mac Book Pro 2007 running the same version of El Capitan boot fine with the connected monitor? It has something to do with the Thunderbolt/mini-DP-to-DVI connection? I don't know, and I guess that Apple's Support is not either.

    I fell on a hack, which is as follows:

    1. start with the second monitor connected

    2. in the "black screen with cursor" hold the power button quite long to put the computer to sleep

    3 wake up the computer with the keyboard or trackpad or other

    4 and now the login screen will appear.

    5 log in as usual.

    6.

    I hope this helps someone. One day I'll get a more compatible monitor and it will not be a Samsung.

    They make nice dish, however.

  • I currently use a 27 "I - mac with a second monitor thunderbolt. I think about upgrading to a new Mac Pro. Can I use both sight monitor as well as my current I have mac as monitors with the new Mac Pro?

    I am currently using an iMac 27 "with a second crush 27" monitor. I think about an upgrade to the new Mac Pro. Can I use my monitor Thunderbolt as well as my current iMac as a second screen?

    Only if you have the iMac mentioned in this article-> use your iMac as a display with the target - Apple Support Display Mode

  • I can't connect my computer at home it has windows xp professional on... just go round in a circle with 30 seconds of countdown to try to open a session.

    I can't connect my computer at home it has windows xp professional on... just go round in a circle with 30 seconds of countdown to try to log on... I tried options menu that is to say; go to the last known working etc etc... but not good. Problem came when the wife has removed some material... not been able to get a blue screen connect etc. Since HELP!

    original title: help!

    If you have no Windows CD, you can not do a repair installation.

    If you have no Windows CD, the message from the moderator of the Forum Nicholas_W will not help you either.

    If the disk verification fails, there is no sense to try a repair installation because the file system was obviously some problems that must be fixed first (at least that is what I think).

    Wouldn't you want some ideas that actually work?

    The error:

    STOP: 0 X 00000024 0 X 00190203 0X82F42108, 0XC0000102, 0X00000000

    indicates a problem with your NTFS file system.  You can usually solve this by running chkdsk/r from the XP Recovery Console.

    The question was preceded by a loss of power, aborted reboot or abnormal termination? (This includes the plug pulling, buttons power and removing the battery).

    These can cause corruption in the file system that must be fixed before you do anything else.

    If none of these events occurred (or even if they have not taken place), you must verify the integrity of your file system before anything else (especially "try" things).

    Here's how:

    Boot into the Recovery Console Windows using an XP bootable installation CD.

    If you have no XP bootable media (or aren't sure you have) create a bootable XP Recovery CD of Console and do not forget.

    This is not the same as recovery disks that might have come with the acquisition of the system store.

    You can make a bootable Recovery Console CD by downloading an ISO file and burn it to a CD.

    The ISO bootable image file you need to download is called:

    xp_rec_con. ISO

    Download the ISO from here:

    http://www.mediafire.com/?ueyyzfymmig

    Use a new CD and this simple and free program to burn your ISO file and create your bootable CD:

    http://www.ImgBurn.com/

    When you install ImgBurn, DO NOT install the Ask toolbar.

    Here are some instructions for ImgBurn:

    http://Forum.ImgBurn.com/index.php?showtopic=61

    It would be a good idea to test your bootable CD on a computer running.

    You may need to adjust the computer BIOS settings to use the CD-ROM drive as the first device to boot instead of the hard drive.  These adjustments are made before Windows tries to load.  If you miss it, you will need to restart the system again.

    When you start on the CD, follow the instructions:

    Press any key to boot from CD...

    Installing Windows... going to pronounce.

    Press 'R' to enter the Recovery Console.

    Select the installation that you want to access (usually 1: C:\WINDOWS)

    You may be asked to enter the password (usually empty).

    You should be in the folder C:\WINDOWS.  It's the same as the

    C:\Windows folder that you see in Solution Explorer.

    The Recovery Console allows base as file commands: copy, rename, replace, delete, chkdsk, fixboot, fixmbr, cd, etc.

    For a list of the commands in the Recovery Console, type help at the prompt of commands or read on here XP Recovery Console:

    http://www.Microsoft.com/resources/documentation/Windows/XP/all/proddocs/en-us/recovery_console_cmds.mspx?mfr=true

    A good idea before you start things must first verify the integrity of your file system by using the chkdsk command.

    In the command prompt window, run the chkdsk command on the drive where Windows is installed to try to fix any problems on the afflicted player.

    Running chkdsk is fine, even if he finds no problem.  It won't hurt anything to run it.

    Assuming your boot drive is C, run the following command:

    CHKDSK C: /r

    Let chkdsk finish to correct the problems, he could find.

    It may take a long time for chkdsk complete or they seem to be "stuck".  Be patient.  If the HARD drive led blinks always, chkdsk is something.  Keep an eye on the amount of the percentage to be sure that it is still making progress.  It may even seem to go back sometime.

    You must run chkdsk/r again until it finds no error to correct.

    Remove the CD, and then type "exit" to exit the RC and restart the computer.

    You have not to set the BIOS to boot the disk HARD since the CD won't be.

  • Problem with Top SQLs report

    Hello

    I have a big problem with Top SQLs reports, when I generate a report of high SQLs, SQL, the value text is not end, I know that there is a "The SQL text size" setting on the properties of the agent (this configuration is also on the collections setting ' Ta maximum size in characters of the short collects text of the SQL statement is ") on the two options , I've incremented the value of 256 (default) 1500, but when I generate the Top SQLs postpones continue it problem, once the changes I restarted the agent but the problem persists, I generate the report on the different formats, but result is the same, could you help me please.

    Thank you.

    Best regards.

    I see this in support KB article https://support.software.dell.com/kb/109536

    "

    • Title

      SQL in DB2 Top instructions are truncated in the delivered report of Top SQL

    • Description

      SQL in DB2 Top instructions are truncated in the delivered report of Top SQL

    • Resolution

    • Resolution A DDB-3673 request improvement with Support software Dell to show the full text of SQL high in the report Top SQL for DB2.

      Workaround At this point you should be able to make a custom report by cloning the Top SQL existing and then customizing report. »

    I know that this is not the solution, more of an explanation and guidance on how to solve this problem by using customizations.

    Golan

  • The license to use Photoshop Lightroom 4 with the second computer or not?

    I bought the lightroom version 4. For use with my computer last year. Now I have to buy a newer computer. I'm not sure. The license to use this program with the second computer or not ? only 1 computer . gold


    Details of the program

    AUT YOMYAI,


    Purchase of the end-user

    Yes, you can install and activate LR on 2 computers.

    Mylenium

  • ORA-06503: PL/SQL: function returned no value

    Hi guys,.
    I wrote a function that returns the number of quarter for a given date.
    Here's the function

    FUNCTION to CREATE or REPLACE fn_get_quarter
    (p_date DATE)
    RETURN NUMBER
    AS
    v_qtr NUMBER;
    BEGIN
    Select TO_CHAR (p_date, 'Q')
    IN v_qtr
    DOUBLE;
    dbms_output.put_line (' it's quarter ' | v_qtr);
    END;

    It compiled without error.

    Here is the test case that I wrote

    DECLARE
    p_date DATE: = TO_DATE('12/22/2009','MM/DD/YYYY');
    v_qtr NUMBER;
    BEGIN
    v_qtr: = fn_get_quarter (p_date);
    END;

    When I run the present, I get the following error.

    ORA-06503: PL/SQL: function returned no value
    ORA-06512: at "GPS_FVO. FN_GET_QUARTER', line 13
    ORA-06512: at line 7

    But surprisingly, I get the result.

    Please suggest and let me know how to get rid of this error and why I get this error.

    Thanks in advance.
    Sam

    RETURN v_qtr;
    should be added after DBMS_OUTPUT

  • ORA-01481 when we click on the report with link column.

    Request Express 3.1.0.00.32

    I have a sql on a form page report with a column that clickable allowing the end user to quickly change the values.
    I seem to have is because there is a mask of format on the column ($1234,56) I get the error
    ORA-01481: invalid number format model
    Unable to fetch row.
    Googling the error came up with "check your manual.

    Under format of date column / number, I'm using the following:
    FML999G999G999G999G990D00
    The column in the database is number (15.2)

    The only value I'm passing is the pk_id which is present in the case of the URL:
    http://...f?p=293:2:3616213833707847::NO::P2_PK_BUDGET_ID:1
    Anyone had this problem and if so found a work around?
    Thank you.

    Leland,

    The error was caused by apply you the mask of YYYY format a number field. I changed a switch of dates for a list of selection and gave you an LOV query that would give you the current year, the last 3 years and the next two years. You can adjust that, according to the needs. I also put the definition LOV to accept other values incase you had a value in the db that was not in the LOV I've defined.

  • starting with forms and reports

    Hi everyone, well, I'm a student in computer science from panama, I need to know that the assignment the conection with database and forms with the report.
    I have it please your help.
    Greetings

    Welcome to the forum!

    First thing to learn is to always mention the number of exact version of the tools you use as form 10.1.2.0.2

    Second place, alyways to give your son a title "menaningful".

    As for your problem. There is a file called tnsnames.ora which is generally under $ORACLE_HOME\network\admin. You must open this file and create an entry for your database, which resembles

     =
      (DESCRIPTION =
        (ADDRESS = (PROTOCOL = TCP)(HOST = )(PORT = ))
        (CONNECT_DATA =
          (SERVER = DEDICATED)
          (SERVICE_NAME = )
        )
      )
    

    Replace the values in brackets with those corresponding to your database settings.

Maybe you are looking for