Report format trigger not working

Hi,
I am using a format trigger on a column in my report as follows:
function B_9FormatTrigger return boolean is
begin
if (:TEST > 30) then
return (FALSE);
else
return (TRUE);
end if;
end;
When testing in reports builder everything works fine, but when running the report from a form, the trigger is not executed.
I am thinking this might have something to do with te reports runtime, but i don't know how to solve it.
I am using Report Builder 9.0.4.0.33
Edited by: user10085365 on 3-feb-2009 6:12

so, did you try my suggestion to switch the condition?
Or, is there maybe an old rep-file in your runtime-environment which doesn't include the format-trigger? Try to colorize a field and see if the correct reports-version is run.
And I am a 100% shure the :TEST value is correct.
So the field that should be hidden, stays displayedYes, but its unlikely that you hit a bug here (but not impossible), the chance in gendral is higher that there is some other reason for that. (in my case, 99.99% of the things which don't work are my own fault ;-) )

Similar Messages

  • Format Trigger not working in 10g Report.

    I have a report with two eclipses
    (*) Debit (*) Credit . Please note that the two asterics denotes eclipses.
    I have a format triggers on these eclipses based on the database item Debit_credit.
    IF :debit_credit = 'CREDIT' THEN
    RETURN FALSE;
    ELSE
    RETURN TRUE;
    End if;
    and vis-visa. However the format trigger is not working. Regardless of the value of
    debit_credit. I even created a frame around these eclipses and put my format trigger all to no avail. Please help.

    Create a boilerplate text in your repeating frame (get rid of the field :debit_credit from your layout, but leave it in your query). I created the boilerplate field B_1. My format trigger looks like:
    function B_1FormatTrigger return boolean is
    begin
      if upper(:debit_credit) = 'CREDIT' then
           srw.set_field(0, to_char('(*) CREDIT'));
       else srw.set_field(0, to_char('(*) DEBIT'));
      end if;
      return (TRUE);
    end;I hope I understood your question OK...I am not sure what an eclipses is?

  • VS2005 Crystal Report Print Report Button is not working on Windows 7 x64

    Hi There,
    My application is written in VS2005 C# on x86 machine. It runs smoothly on XP pro and Vista x86 machine.
    I deployed the same to windows 7 x64 machine with CRRedist2005_x64.msi and found that the Print Report button is not working.
    So, I re-compiled my application to x64 target platform, and reinstall the application to the same machine. But nothing changed. I have surf for answer over the web but nothing found.
    Please help urgently. Any helps is much appreciated. Thks in advance.
    Edited by: chanpyvivian on Mar 26, 2010 11:14 AM

    I follow your instruction as below:
    1) download the sample app vbnet_win_printtoprinter.zip to dev computer and compile it to .NET 2005.
    - Run from my dev computer
    - Click "Print Report" button
    - Error message display - please see below
        The error was due to the default printer name hard coded in the program was not found. I have edited to my printer name and it can be printed out with no error.
    2) Use a "saved data" report so that you do not have to worry about database logon.
    can't find the "saved data", please elaborate
    3) Then copy the exe to the 64 bit box and try to print using this sample app.
    -do you mean copy the exe to the 64 bit computer for testing ?
    ERROR Message
    CrystalDecisions.CrystalReports.Engine.InvalidArgumentException:
    Invalid printer specified. ---> System.Runtime.InteropServices.COMException (0x80000201):
    Invalid printer specified.
       at CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.ModifyPrinterName(String newVal)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterName(String value)
       at CrystalDecisions.CrystalReports.Engine.PrintOptions.Copy(PrintOptions src)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportClass.Load(String reportName, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.EnsureLoadReport()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.get_FormatEngine()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.PrintToPrinter(Int32 nCopies, Boolean collated, Int32 startPageN, Int32 endPageN)
       at PrintToPrinter.Form1.Button1_Click(Object sender, EventArgs e) in C:\Crystal\CRNET\vbnet_win_printtoprinter\vbnet_win_printtoprinter\Form1.vb:line 91
    OK  
    Edited by: chanpyvivian on Mar 30, 2010 6:18 PM

  • Report format is not changing in IE

    Hi All,
    I am working with Report Designer. when i am executing the report, initially report is executing properly for the first time and givining define format. but if i am doing any change in report format in report designer the executed report do not capture the changes. the report generated on the web portal showing me the same output generated for the first time. if i am creating another copy of the same report by "SAVE AS" and then executing it, then again it is showing me the proper output for the first time only but it is not working if i am doing any changes in format.
    Kindly guide for that.
    Regards,
    Kaushik

    Hi Kaushik
    maybe you've already solved your problem, otherwise here's a program which most probably would solver your problem:
    report  zicm_cache_invalidate_all.
    call function 'ICM_CACHE_INVALIDATE_ALL'
      exporting
        global              = 1
      exceptions
        icm_op_failed       = 1
        icm_get_serv_failed = 2
        icm_no_http_service = 3
        others              = 4.
    if sy-subrc <> 0.
      message id sy-msgid type 'E' number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    Setting global to 0 would invalidate only local... It's the same like invalidating the cache thru SMICM
    Regards
    Gerald

  • Reporting Services Button not working

    Hi,
    I am having issues loading data from reporting services (using the reporting services button).When I click on the "refresh on load" box, is not pulling the data automatically. The data gets pulled only if I press the button. Also, the trigger cell feature is not working either. This all started happening when I installed sp1. In the first version of excelsius 2008 engage I had no problem. Also I am pulling data based on date range, the data only pulls automatically if I type the numbers in the cells, if I calculated the date range it no longer works and i have to press the reporting services button for it to pull the data.
    is there any setting or a hot fix or some known issues about this?
    Note: I am using report parameters
    Also, I also opened a model that I had created with first version of excelsius 2008 using sp1. The model did not automatically loaded the data. The flash file of that module works fine (since it was created with the earilier version).
    I am sure there is a bug on the reporting services button.

    Hi,
       I just upgraded to the new SP fix. I tested, based on an old file that automatically pulls the data from reporting services, but it didnt work. I still have to test it building from scratch using this new version. I dont think they have corrected the reporting services button issue.
    Thanks
    Ricardo

  • MacBook Pro running amazingly slow (formatting DID not work)

    I own a MacBook Pro with OS X installed on it, and it suddenly started running very slow.
    It happened literally overnight. One day it was working, the next morning it wasnt. I tried formatting the hard drive via the disk utility when starting the MacBook, but it didnt work. I also tried to delete my Windows partition, but it didnt allow me (though I dont believe that is a problem, since the last time I used it was over a year ago).
    Anybody has any ideas?
    Thanks for your help,
    Andre.

    Suggestions of Things You Can Do To Help A Slow Computer
    If your computer seems to be running slower here are some things you can do:
    Start with visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • Report using charts not work on non-development machine

    Post Author: ftsoft
    CA Forum: .NET
    using visual studio report uses charts.  works fine on development machine when I move the web app to a test machine which does NOT contain visual studio, the chart report does not worknote: other reports which only display data records work fine. the space where the charts should be displayed contain the following two lines CrystalReportViewer - CrystalReportViewer1 Error: Fail to render the page.  any help would be appreciated

    Solution suggested worked for me. 
    On my test server Crystal was trying to use the c:\temp directory to write the temporary images, my report always ran ok on the test server.  On the live server CRW was running under with the ASPNET account and / or my own user account. 
    I ran FileMon and filtered on the aspnet_wp.exe process across both servers and ran the application up to the point of generating the issue.  The FileMon output from the test server showed no issues we as the output from FileMon off the live server showed an access denied message.
    I gave access right to the relevant accounts on the relevant folders on the live server and the report ran fine.

  • Date format is not working properly for Calender value help

    Hi Experts,
    We have two problems.
    1. We want to change the format of date displayed. We want format of dd-MMM-yy. For that we have created one Simple
    Type Dictionary Object with Displaying format dd-MMM-yy. It is working
    fine for the non editable UI. But once I apply the dictionary type
    object as data type for an input field, probem happens. Once the user
    choose a date from calender value help the value in the input field is
    coming like 01-011-12 not like 01-Jan-12.
    The date format is not changing from the calender. But if we set the
    display format of the dictionary object to MM-dd-yy or MM/dd/yy or
    dd/MM/yy or dd-MM-yy the format conversion from calender to input field
    is happening properly.
    The only problem once we put MMM in place of MM for the input field
    where user is selecting from a calender value help.
    2. We want to restrict users from entering the value manually for date input field. The user
    should be able only to enter value by selecting from calender value
    help.
    Please give suitable solution for these problems
    Thanks
    Shankha

    Hi Sankha,
    Please refer the links below:
    http://scn.sap.com/thread/1659463
    http://scn.sap.com/thread/1533443
    Regards,
    Manoj

  • Report service is not working after install Discoverer..............

    Hello,
    I have installed Oracle Developer Suite 10gR2 (Forms/Reports) on my desktop, they were both working fine for a long time. I installed Discoverer 10gR2 (Administrator and Desktop) on the same machine recently. The Oracle Forms is still good, I can run forms on the local machine after I start OC4J instance. But the Reports is always hanging, even Showjobs. I can access http://host:port/reports/rwservlet, but anything under that is not working, hanging.......
    Please help! Thanks in advance.

    Hello,
    The problem may be a PATH problem.
    Start the reports server after having set the PATH :
    set ORACLE_HOME=d:\oracle\ods1012
    set PATH=%ORACLE_HOME%\jdk\jre\bin\classic;%ORACLE_HOME%\jdk\jre\bin;%ORACLE_HOME%\jdk\jre\bin\client;%ORACLE_HOME%\jlib;%ORACLE_HOME%\bin;%ORACLE_HOME%\jdk\bin;%ORACLE_HOME%\jre\1.4.2\bin\client;%ORACLE_HOME%\jre\1.4.2\bin;
    Regards

  • Crstal Report Server does not working on installation of Crystal Design

    Hi,
    I had installed Crystal Report Server 2008 on a machine, I was able to login and open the CMC console as well but on installation of Crystal Desing the CMC and inforview are not opening. its displaying some dll file is missing.
    Kindly inform whether Server does not work after installation of Design on the same machine.
    Thanks & Regards
    PNN  Murthy

    Questions related to ASP.NET should be posted in the ASP.NET forums (http://forums.asp.net ).

  • Customer Support Portal to report problems is not working

    The Customer Support Portal at: https://www.adobe.com/cfusion/support/index.cfm?event=portal&loc=en_us
    Is not working.
    I called into installation help.  The person said he could not help me and I needed to report the problem through the Customer Support Portal.
    When I go there I sign in.
    I select Installation Help
    I select Your Products
    A drop down box appears
    It says Select Your Product.
    The problem is it doesn't show any products to select.
    Thanks,
    Docfxit
    PS:  How can I report an installation problem to the developers?

    Hi Docfxit
    What product are you trying to install? Acrobat? Reader? PhotoShop? LiveCycle........? Are you an enterprise customer?
    If you are an enterprise customer you should have been given an email address for support
    If not you can always post the questrion on the forums and we'll try to help from there.
    This forum is for the online service hosted at Acrobat.com
    The forum for the desktop application Adobe Acrobat (Standard / Pro / Pro Extended) is http://forums.adobe.com/community/acrobat
    Tai

  • My Labview Report generator is not working with 2013 excel version

    Hi All,
    My report generator tool kit which was developpend using labview 2011 was workign with excel 2010...after that i installed 2013 excel and the code is not working..
    Do i need to enable some setting to work with excel 2013.
    Basically this generator tool will copy the charts from excel and paste in power point...Please let me know.
    Thanks,
    Hareesh

    Ah, I understand now - I had assumed you were using the NI Toolkit.
    If you're not using the report generation toolkit, did you write your own VIs for communicating with Office or are you using a different toolkit? If you're using ActiveX to communicate with Office it may be that the ActiveX API has changed for Office 2013 - you will probably need to modify your program for the new calls.
    Since it wasn't as obvious as I thought with the report generation toolkit, it would help if you posted some code to try and understand what might be happening. Are you getting any errors in your application when you try to use Office 2013?
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Report engin is not working

    Dear All
    I have install Forms6i and Report6i on client machine and give exact path of server and also mention net 8 service and also give path of reports and forms. my form are running correct but my eports are not working and i notice when i run my report then report engin is not come on status bar, please let me know the solutions
    Thanks in Advance
    Regard

    Hello,
    The problem may be a PATH problem.
    Start the reports server after having set the PATH :
    set ORACLE_HOME=d:\oracle\ods1012
    set PATH=%ORACLE_HOME%\jdk\jre\bin\classic;%ORACLE_HOME%\jdk\jre\bin;%ORACLE_HOME%\jdk\jre\bin\client;%ORACLE_HOME%\jlib;%ORACLE_HOME%\bin;%ORACLE_HOME%\jdk\bin;%ORACLE_HOME%\jre\1.4.2\bin\client;%ORACLE_HOME%\jre\1.4.2\bin;
    Regards

  • MS office report function does not work after building the appication

    I use the MS office report function  with a custom excel template my application.
    It works properly in de developstate, but after building the application it does not work .
    I use office 2000  and Windows XP

    jmq wrote:
    I use the MS office report function  with a custom excel template my application.
    It works properly in de developstate, but after building the application it does not work .
    What error message if any did you get? It could be a couple things:
    1. Did you include the Report Toolkit's dynamic vis in the app's build process?
    Ref: Error 7 when Running an .EXE Using VIs from Report Generation Toolkit for MS Office
    2. How are you giving the path to you custom template, as a relative or an absolute path? The path will be different for the .exe. You have to strip twice.
    Ref: Why Can't My Executable Load My Included File When I Use Relative Path Encoding?
    =====================================================
    Fading out. " ... J. Arthur Rank on gong."

  • Format conversions not working in Numbers 3.0?

    Hi,
    Converting text to dates, numbers etc are not working for me in Numbers 3.0.  Is anyone facing this issue?
    A cell that is initially labeled as text is very difficult to change to a hard-coded type (like Date).  The type "Automatic" works however it is impossible to choose the exact date format.
    S.r.

    Same problem. Messages wrapped at about 72 characters.
    This doesn't happen on my .Mac account.
    Only on my Exchange account.
    If I use another client on Exchange or webmail I don't have this problem.
    Therefore I suspect its a Mac Mail client issue.
    How can I set the Format:Flowed on the client?
    Thanks
    Doug

Maybe you are looking for

  • Code modification to read fixed vendor (Urgent)

    Hi All, The below code is basically selecting the fixed vendor as per EORD table for a given material - plant combination. But the issue is for this combination, there can be different fixed vendors but during different times eg: Mtl  - A, Plant - 10

  • What's The Best Way to Assign Keywords to Multiple Images?

    I'm finally starting to organize my photos with keywords, but something about the way it works in LR2 is driving me batty. I came back from a concert Saturday night with over 1,000 photos (double coverage by me and my wife).  I'm trying to use keywor

  • All Speakers Suddenly Not Working!

    Everything was fine until yesterday and I didn't do anything to the phone that might have caused this. I suddenly noticed that the speakers do not work, but through the headphones music will play. I can talk to people on the phone too, just not hear

  • Download Failure of iTunes software

    Had to uninstall iTunes due to Runtime error R6034. Now cannot download the software. Logged in to Apple/iTunes, clicked Download, but does not arrive on my PC. Any suggestions?

  • Forms 6i problem in procedures for make update

    dear sirs, i had procedure to make update for tree of accounts, but make update to some levels and other level no, and here is the procedure if inside it any problem pls advice me CREATE OR REPLACE PROCEDURE updup_acc_trbal2( wyear IN NUMBER , wperio