How update a field in a report whenever the page is refreshed?

Hello

I have a pain with the logic below field:

If the Date deadline > SYSDATE and end Date = NULL then
Suffering: = Date deadline - SYSDATE
End

How can I change a field suffering in a report whenever the page is refreshed?

Thank you
Guy

Hello

Try to add a column to your SELECT statement.
CASE
WHEN G IS NULL
THEN
NULL VALUE
WHEN (F IS NULL) AND (G<>
THEN
SYSDATE - G
WHEN (F IS NOT NULL AND F > G)
THEN
F G
ON THE OTHER
NULL VALUE
FINISH as difference

Kind regards
Dimitri
----------------------------------
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
AWARDS: Don't forget to mark correct or helpful messages on the forum

Tags: Database

Similar Questions

  • Display a random image whenever the page is refreshed...

    Hello

    I am creating a website using MUSE. Everything is ready, but there is a prob... I have 200 different images to display on my site. How can I set up to display a random image whenever the page is refreshed?

    You can use the slideshow widget "full screen" on your master page with the following parameters:

  • How to write a script to report to the page number in a book?

    Hello

    Is it possible to write a script to report to the page number in a book by pop up a text file.

    What I'm trying to say:

    first of all, I opened an indesign book, thenI run the script, the script can gen a text pop-up file and the list of files, the file names and page numbers (only the star number of each file) and the script can also tells me that I have two files or more overlap page numbers (if any).

    sample:

    book3.jpg

    report like this:

    01 table of contents 1
    02 2 Summary
    03 the financial of the 3 games
    Statement by the President 4 04
    05 MD and A                                 7
    06 12 CG report
    Report of the directors 07 17
    08 18 auditor's report
    Profit and loss account 09 19
    profit and loss 20 10
    11 equity change 20
    Cash 12 21
    13 notes on the 22 account
    14 42 corporate information

    File have the page number of overlap:

    profit and loss 20 10
    11 equity change 20

    Thank you

    Is that what you need?

    var book = app.activeBook,
        _content = [];
        overlap = [];
    for(var i =book.bookContents.length-1;i>=0;i--)
    {
            _content.push(book.bookContents[i].name + "\t" + (book.bookContents[i].documentPageRange.replace(/-[^-]+$/g,"")) + "\r");
            if(book.bookContents[i].documentPageRange == book.bookContents[i-1].documentPageRange)
            {
                    overlap.push(book.bookContents[i].name + "\t" +book.bookContents[i].documentPageRange + "\r" + book.bookContents[i-1].name + "\t" +book.bookContents[i-1].documentPageRange);
                }
        }
    alert(_content.reverse());
    alert(overlap.reverse())
    

    Kind regards

    Cognet

  • How can I download a screen shot to the page in question?

    How can I download a screen shot to the page in question?

    You can't attach an image to the first post which creates a thread. You need to add another post (second) to fix an image.

  • I would like to know how I can buy photoshop license because on the page it says that my country Chile does not sell directly.

    Hello, I would like to know how I can buy photoshop license because on the page it says that my country Chile offers no direct sales.Compr

    Adobe resellers http://adobedealreg.force.com/PartnerSearch?lang=en

    -http://www.adobe.com/content/dam/Adobe/en/products/creativecloud/cc/pdfs/cc-availability-m atrix.pdf

  • How can I add a PDF file to the page in the site Web of Muse?

    How can I add a PDF file to the page by Muse?

    Hello Gini1950,

    In case you want visitor to click a button and open the PDF file in the browser, you can try following:

    1. create a button (Rectangle or text box)

    2. click on the button and go to the hyperlink menu and click on "link to file".

    3. navigate to the PDF file and select it.

    This will create a hyperlink to the file and it will open in the browser if someone clicks on the button.

    Please let me know if you are trying to achieve something else.

    Kind regards

    Vivek

  • How to integrate a BI publisher report into the fusion app home page?

    Hello

    I have been a proponent of the ADF, new fusion app and BI publisher. We use Oracle Fusion Application version 11.1.7.0.0 for the implementation of compensation and BI publisher is a part of it.


    I developed a report editor BI, placed under the shared folder-Custom, to incorporate the same in the merger enforcement home page. By following the video How to embed a report in a dashboard sale?-YouTube, I followed steps below


    1 administration-> work area page to customize

    2. add content

    3 click on "reports and analytics.

    4. click on 'BIPresentationServer '.

    5. file sharing

    6 custom


    Question: If I have reports under this 'Custom' folder, it says "empty folder". It shows that the 'analysis', but not all reports. Problem is not with this single file but all. I also made sure that I am able to see all the reports when I browse using Navigator-> tools - > reports and analyses.


    Anyone of you can guide me on what is the issue and what to do?


    Thanks in advance.

    Thanks for the link. I'm reading for a better understanding.

    I come to know of SR that in order to see the BI Publisher in the list of servers of presentation of values, we must incorporate the report BI Publihser inside an OTBI dashboard.

    So we need to create a "Dashboard" folder (it is wort then only we are able to see via fusion apps. Select and integrate), dashboard and then and add the report wanted to this dashboard. Now we can navigate to this dashboard, open it and select the page to include it.

    Could be useful for the ppl who faced a similar question. Thank you.

    Rambeau

  • How to generate an output PDF report when the layout template is an Excel file in the editor of BI 11.1.1.7

    That's what I did...

    1. create the new report

    2 create a report using an existing data model (browse and choose a data model)

    3. How do you create your report? (click used report editor)

    4. click on finished (and then saved the report)

    5. then he asked me to create the page layout (I chose to download or generate a layout and then traveled to a downloaded my model with XDO_ * the columns of the excel data model mappings)

    Template file = model Excel, locale = English (United States)

    5. click on Upload

    6. then click view the report top-right, which has opened my file name of "my_report_layoutname.xls" with sheet report 1 (OPE all mapped very well) and a sheet of xdo_metadata.

    I just wanted to step 6 is a sheet 1 pdf report.    How do I do that?  Could not find the place where I can clarify that.

    Mr. Jamal

    Layouts Excel generate only one exit Excel. (CSV takes no account of the provision is therefore an option for any layout.)

    You use RTF or PDF or page Template Builder (XPT) layouts to generate PDFS.

    The LOV to find output formats by modifying the report and selecting a list.

    The table has a column to the output formats, it is controlled by the format of the presentation that you have built.

    Kevin

  • How to create editable report manually even as a default with on report send the page


    Hello

    Is it possible to create the report updatable manully would even editable report by default.

    I created 4 report can be updated in a single page, but submits the entire page when adding empty lines.

    I need to add additional blank lines using dynamic measurements or any otherwise with the page request.

    Thank you

    RJ

    Thank you Lakshmi,

    His work!

  • HOW TO ADD A SPECIFIC DISCO REPORT TO THE USER IN FUNCTION MENU

    Hello world

    We use DicovererPlus. Our customers want to reach a specific report (often used) in access to its menu in function.

    I know that it is possible to reach DiscovererPlus from the screens of forms, but is it possible to send a report of the menus?

    Thanks in advance.

    Cagri

    You can consult the page of Anil Passi:

    http://Oracle.anilpassi.com/invoke-discoverer-report-from-Oracle-applications.html

  • How can I disable him flipping back between the pages with PgUp and PgDn? Please tell me that I can!

    From Firefox 4, it seems to have been decided that PgUp and PgDn are now buttons with which you return back between the pages. For me, this means essentially almost lose valuable information, because I actually use up and down pages, so I wonder. How can I disable this new and quite bothersome?

    Please tell me that I can!

    In the details of your system, I see this card installed: Macromedia Shockwave for Director Netscape plug-in, version 8.0

    You also seem to have the last, although always obsolete installed namely Adobe Shockwave for Director Netscape plug-in, version 11.5

    First, click on the orange button Firefox, go to add-ons and Plugins and disable the version of Macromedia.

    Then go to http://get.adobe.com/shockwave/ and update it.

    If the problem persists then, try running Firefox in Firefox to solve the issues in Safe Mode. If it works properly in this configuration, then one of your modules is the culprit.

  • The reports in the page lol should limit the selection based on edge guest?

    Hello world


    I have a requirement where I need to create reports based on the survey questions and there are 6 tables and this survey Questions are repeated in all the tables in this 6 and assume overall, I created 70 reports based on this survey questions. And must I have to integrate all this 70 reports into single dashboard page, and within the hour I have to create radio 6 buttons each button will be the name of each table, how can I achieve this?

    The next Question is when we choose a no option box. reports should limit on the page and must view reports related only to this table?


    Please someone help me on that and answer me with your valid solution.


    Thank you and best regards,

    Laeticia.

    It feels kind of weird that you had created 70 separate analyses rather than a smaller number with a little more intelligent filtering.

    Anyway, you can do this by putting conditions on the sections on the dashboard page. According to your selections in the guests, this can hide and show the equivalent parts.

    That said, the page will be a nightmare, and you'll need 70 conditions, so don't think it will happen well. Maybe take a step back and think about whether you really need 70 separate analyses. If you do... good luck with the creation of this page, it shuold be fun.

    C.

  • Report do not show when the page is refreshing

    Hello

    I have a report of patient privacy and I have a column in the report at the end of TREATMENT DETAILS. When I click on DETAILS of TREATMENT and then move page command no 2. This page show me last visit treatment details report in a region and here I use the second area I add the current processing status. There is point four

    Checkbox name 1-disease
    2 - symptoms name box
    Checkbox name of 3 treatments
    medicine-4 Select name
    My first query of the region is
    select A.P_NO,A.P_NAME,B.DISEASE,B.SYMPTOMS, B.VISITING_DATE,B.TRET_NAME,B.MED_NAME,B.MED_COUNT FROM PATIENT_DETAILS A, PATIENT_SYMPTOMS B WHERE A.P_NO=B.P_NO AND A.P_NO =:REQUEST
    using these four point I fill in the details of current patient treatment and resend medicine by using select list but if he is NOT as medicine of Disprine salt; ECT list then add new drug I create a link when I click on this link then control will again page-3 and add new drug .but after submitting the new medicine and click on the "BACK" button then control access page - 2 and the treatment of the patients first region report do not show.

    I want to show this report when I click the back button on the page of no - 3.

    How can I do this...

    Thank you

    Published by: Ed on April 30, 2010 04:57

    Published by: Ed on April 30, 2010 04:58

    Published by: Ed on April 30, 2010 05:48

    Hi Maury,

    I changed your application and it's working now. The problem is, you set the number of patients at the request of page No - 7 when the link in the page no-6 is clicked. When you get back from page no-5 after the addition of medicine, demand comes from page no - 5 and it doesn't have the patient not inside, so the report query returns all the data.

    I added an item hidden in page 7 and I am the focus with the patient No. 6 and used page in the report query. The value of this element will not change until you change it or the session expires or you click on the link in the page no-6 for another patient. Hope this helps :)

    Thank you
    Machaan

  • How to print on both sides so that the pages run sequentlly?

    I printed a document of declarant 1-97 on printing odd pages only options.   I then put the pages in the printer and pressed even pages only and it prints 1, then 94?  Can you help me how to print so that the pages run consecutively?

    Hi Carolyn,

    1. what operating system do you use?

    2. What is the brand and model of the printer number?

    You can check the link below to choose printing options.

    http://Windows.Microsoft.com/en-us/Windows7/choosing-print-options

    You can also visit the link provided below for more information.

    http://Windows.Microsoft.com/en-us/Windows-Vista/getting-started-with-printing

    I also suggest you please contact the manufacturer of the printer about the question

    Hope it will be useful.

  • How can I get the page to refresh after a certain period of time, so he jumps at the beginning of a page of the site? Its for an exhibition

    Hello

    I'm in an exhibition space where I need to post my Muse site in offline and locally on the desktop. I'm looking for a way for the website to refresh after a certain period of time, so he can come back at the beginning of the page. Can anyone help? Please, I beg you!

    You can try the steps here:

    http://StackOverflow.com/questions/2787679/how-to-reload-page-every-5-second

    http://StackOverflow.com/questions/17886578/refresh-part-of-page-div

    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jQuery-and-AJ ax.

    Thank you

    Sanjit

Maybe you are looking for

  • Equim L40 - 10U: IRQL NOT LESS OR EQUAL

    At random times in the last few months, my computer broke down.A blue screen appears with the error: IRQL NOT LESS or EQUAL and it stops and then restarts. When I checked the event logs, an error related to the driver Ricoh XD Picture Card was develo

  • FIX: My MSWord documents are passed to MSWordPad. How to switch back and be able to reopen?

    While trying to open my MSPublisher documents without them is encrypted (even still have problem), some how I changed all my MS Word documents to MSWordPad documents. I would like to restore my MS Word documents and open my MSPublisher docs without t

  • Microsoft works 8.5

    How to reinstall microsoft works 8.5 on windows vista

  • MSVCR71.dll to %systemroot%\System32

    I tried several times to install CSI: Hard evidence, but it doesn't seem to work and I still get this error message

  • Photo Gallery do not print

    After I selected a size for the photo to be printed and clicked on the button "print" at the bottom right of the window, another window appears which says 'is about to print,"but it closes after about one second, and nothing prints.