Running total of calculated field in pivot

VERSION: ORACLE 11
TABLE:
create table chart_detail (
DIS        NUMBER,
BLD_MO VARCHAR2(7),
BLD        NUMBER(10),
RPLC      NUMBER(10));DATA:
insert into chart_detail values (60,'2011-03',0,2);
insert into chart_detail values (150,'2011-04',10572,0);
insert into chart_detail values (120,'2011-04',26449,5);
insert into chart_detail values (30,'2011-04',0,1);
insert into chart_detail values (60,'2011-04',0,7);
insert into chart_detail values (90,'2011-04',0,9);
insert into chart_detail values (120,'2011-05',5714,0);
insert into chart_detail values (90,'2011-05',24557,1);
insert into chart_detail values (60,'2011-05',0,4);
insert into chart_detail values (30,'2011-05',0,0);
COMMIT;EXPECTED RESULTS:
     2011-04                    2011-05               
DIS     RPLC     BLD     TBLD     IPTV     RPLC     BLD     TBLD     IPTV
30     1     0     37021     0.03     0     0     30271     0.00
60     7     0     37021     0.22     4     0     30271     0.13
90     9     0     37021     0.46     1     24557     30271     0.17
120     5     26449     37021     0.59     0     5714     5714     0.17
150     0     10572     10572     0.59               0     
180               0                    0     
TOTAL     22     37021               5     30271          PROBLEM: I need to have a running total of IPTV like in the above example. I can get the IPTV for each DIS/bld_mo but I don't know how to get the running total of it. In the script below I just used an example where I tried summing the IPTV like was done for build. I know it can't be done that way because IPTV is a calculated field in the query but if I substitute "APR_IPTV" with the formula for IPTV I get an error that window functions aren't allowed here. I do not know a way around this. I commented out the bad piece of code.
PROBLEM SCRIPT:
WITH  pivot_results  AS
  SELECT    dis
  ,    NVL (apr11_rep,  0)  AS apr11_rep
  ,    NVL (apr11_bld,   0)  AS apr11_bld
  ,    NVL ( SUM (apr11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0
                )        AS apr11_tbld
,      DECODE(NVL ( SUM (apr11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),0,0,ROUND(NVL(apr11_rep, 0)*1000/ NVL ( SUM (apr11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),2
                ))        AS apr11_iptv               
,      NVL ( SUM (apr11_iptv)
                  OVER (ORDER BY dis DESC)
                ,                 0
                )        AS apr11_tiptv  
  ,    NVL (may11_rep,  0)  AS may11_rep
  ,    NVL (may11_bld,   0)  AS may11_bld
  ,    NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0
                )        AS may11_tbld
,      DECODE(NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),0,0,ROUND(NVL(may11_rep, 0)*1000/ NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),2
                ))        AS may11_iptv
,      DECODE(NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),0,0,ROUND(NVL(may11_rep, 0)*1000/ NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),2
                ))        AS may11_tiptv               
  FROM     chart_detail
  PIVOT     (  MAX (rplc)  AS rep
          ,  MAX (bld)  AS bld
          FOR  bld_mo   IN ( '2011-04'  AS apr11
                                         , '2011-05'  AS may11
SELECT    CASE
        WHEN  GROUPING (dis) = 0
        THEN  TO_CHAR (dis)
        ELSE  'Total'
    END      AS dis
,    SUM (apr11_rep)  AS apr11_rep
,    SUM (apr11_bld)  AS apr11_bld
,    SUM (apr11_tbld) AS apr11_tbld
,    CASE
        WHEN  GROUPING (dis) = 0
        THEN  SUM (apr11_iptv)
    END      AS apr11_iptv
,    SUM (apr11_tiptv) AS apr11_tiptv
,    CASE
        WHEN  GROUPING (dis) = 0
        THEN  SUM (apr11_tpiptv)
    END      AS apr11_tiptv
,    SUM (may11_rep)  AS may11_rep
,    SUM (may11_bld)  AS may11_bld
,    SUM (may11_tbld) AS may11_tbld
,    CASE
        WHEN  GROUPING (dis) = 0
        THEN  SUM (may11_iptv)
    END      AS may11_iptv   
FROM    pivot_results
GROUP BY  ROLLUP (dis)
ORDER BY  pivot_results.dis
;Thank you,

Hi,
So you know how to compute iptv for an individual row; the problem now is that you want to get a running total of iptv; is that it?
The problem there is that computing iptv requires an analytic function, and analytic functions can't be nested. To get the results of nesting f (g (x)), where f and g are analytic funtions, you have to compute g in a sub-query, and then use the results as the argument to f in a super-query.
Here's how to apply that to your situation:
WITH  pivot_results  AS
     SELECT    dis
-- April, 2011
       ,           NVL (apr11_rep,   0)  AS apr11_rep
       ,           NVL (apr11_bld,   0)  AS apr11_bld
       ,           NVL ( SUM (apr11_bld)
                                   OVER (ORDER BY dis DESC)
                      , 0
                      )               AS apr11_tbld
     ,      NVL ( 1000 * apr11_rep
                          / NULLIF ( SUM (apr11_bld) OVER (ORDER BY dis DESC)
                                      , 0
               , 0
               )               AS apr11_iptv
-- May, 2011
       ,           NVL (may11_rep,   0)  AS may11_rep
       ,           NVL (may11_bld,   0)  AS may11_bld
       ,           NVL ( SUM (may11_bld)
                                   OVER (ORDER BY dis DESC)
                      , 0
                      )               AS may11_tbld
     ,      NVL ( 1000 * may11_rep
                          / NULLIF ( SUM (may11_bld) OVER (ORDER BY dis DESC)
                                      , 0
               , 0
               )               AS may11_iptv
       FROM     chart_detail
       PIVOT    (    MAX (rplc)  AS rep
                ,    MAX (bld)   AS bld
                FOR  bld_mo   IN ( '2011-04'  AS apr11
                                  , '2011-05'  AS may11
SELECT    CASE
              WHEN  GROUPING (dis) = 0
              THEN  TO_CHAR (dis)
              ELSE  'Total'
           END      AS dis
-- April 2011
,           SUM (apr11_rep)  AS apr11_rep
,           SUM (apr11_bld)  AS apr11_bld
,           SUM (apr11_tbld) AS apr11_tbld
,           CASE
              WHEN  GROUPING (dis) = 0
              THEN  ROUND ( SUM (SUM (apr11_iptv))
                                      OVER (ORDER BY  dis)
                  , 2
           END      AS apr11_iptv
-- May 2011
,           SUM (may11_rep)  AS may11_rep
,           SUM (may11_bld)  AS may11_bld
,           SUM (may11_tbld) AS may11_tbld
,           CASE
              WHEN  GROUPING (dis) = 0
              THEN  ROUND ( SUM (SUM (may11_iptv))
                                      OVER (ORDER BY  dis)
                  , 2
           END      AS may11_iptv
FROM      pivot_results
GROUP BY  ROLLUP (dis)
ORDER BY  pivot_results.dis
;Output:
      APR11  APR11   APR11  APR11 MAY11  MAY11   MAY11  MAY11
DIS    _REP   _BLD   _TBLD  _IPTV  _REP   _BLD   _TBLD  _IPTV
30        1      0   37021    .03     0      0   30271    .00
60        7      0   37021    .22     4      0   30271    .13
90        9      0   37021    .46     1  24557   30271    .17
120       5  26449   37021    .59     0   5714    5714    .17
150       0  10572   10572    .59     0      0       0    .17
Total    22  37021  158656            5  30271   96527As you can see, this is not quite what you wanted on the row where dis='150'. You asked for NULLS in the may11_rep, may11_bld and may11_iptv columns. You can get those results if you need them; just explain the rules that govern whether to display the values and when to display NULL.
The way you posted the sample data and results, and the quantity of sample data were all excellent; it really helped me find a solution. Thanks.
It would have also helped it you had explained how iptv is computed. Basically, iptv = 1000 * rep / tbld, right?
It looks like most of this code:
,      DECODE(NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),0,0,ROUND(NVL(may11_rep, 0)*1000/ NVL ( SUM (may11_bld)
                  OVER (ORDER BY dis DESC)
                ,                 0),2
                ))        AS may11_iptvwas a way of avoiding divide by 0 errors; it would have been helpful if you had explained that.

Similar Messages

  • Total of calculated fields

    In a page-detail table report, there are several numeric fields which must be totalled at the end of the report.
    Some of the fields are calculated ones, i.e. a dollar amount multiplied by a conversion rate.
    The total of the calculated fields are always blank whether I run the report in DESKTOP or I run the report in PLUS.
    Any suggestions?
    Thank you.
    Leah

    HI,
    Two things you should try:
    a) put a to_number(nvl(field,0)) on the calculation
    b) Try cell sum instead of regular sum.
    Hope it will help you solve the problem

  • Keeping a Running Total for Formula fields

    Post Author: khanh
    CA Forum: Formula
    I've been messing around for the past couple of days trying to figure out what the best approach for my problem.  So here is what I'm trying to accomplish.  I have multiple rows which contains sums for different columns and one of the columns contains the maximum of the sums. 
    For example:
    ROW 1           SUM (A)             SUM(B)             SUM(C)            MAX(sum(a), sum(b), sum(c))<----
    Formula Variable 1
    ROW 2           SUM (A)             SUM(B)             SUM(C)            MAX(sum(a), sum(b), sum(c))<----
    Formula Variable 2
    ROW Total      SUM (1A2A)     SUM(1B2B)     SUM(1C+2C)     Result of Row 1 + Result of Row 2
    What I did was create a formula variable that evaluates the maximum of those rows and have a summary row, that keeps a running total.  I'm not sure how to store the result of that formula variable in the running total since the formula variable isn't an option to select.  Does anyone have a suggestions if this is a good approach or if there's another way to approach it?

    For each value you enter into scores.text, end it with a
    +"\n"
    as in...
    scores.text = String(1100) + "\n";
    scores.text += String(2200) + "\n";
    scores.text += String(1500) + "\n";

  • Totals of calculated field w/ PL/SQL function

    I have a worksheet with a numeric field that is calculated using
    a registered PL/SQL function. When I add totals to the sheet, no
    total appears for this column. Is this a known issue, or is
    there something else going on?
    Thanks,
    Charles

    I have the same problem. I used to work with Discoverer 4 and all the totals were there, but after the upgrade to 9.0.4 the totals for the calculated items that are based on stored procedures are gone. It has something to do with the procedures because the calculated items that do not call procedures do have the totals.
    What is meant by the default setting of "Data point"? I cannot find anything like it in the administrator.....

  • Totalling a calculated field in end of report

    Hi I have a formula field (F087/F050) in the report Repetitive Area0 and I want to total the results of these line by line amounts in the 'End of Report'
    Please can someone explain how to compose the field I need in the End of Report
    Thanks
    Dom

    Hi Dom,
    You may use ColSum(FXXX) to get the total in the 'End of Report'.
    Thanks,
    Gordon

  • Running Total on a Running Total

    Post Author: MikeA-ICE
    CA Forum: General
    I have set up a running total on a field in a subreport and it is calculating correctly. I set the running total in the Report Footer of the report, then I created a variable which passes the running value back to the main report. The variable is placed in a Group Footer on the main report and it resets on each change of the group. However, now I need the grand total of that running total to appear in the Report Footer of the main report. I created a manual running total formula and placed it it in the Report Footer of the main report. Here it is:NumberVar Sect2MatlTotal;WhilePrintingRecords;NumberVar Sect2MatlTotal := NumberVar RunningSect2MatlTotal + {@Material$Var2a}  The problem is that the value that comes out is grossly larger than it should be. It should be $112,350,582 but it comes back as $212,603,556, which is nearly double what it should be. Can anyone suggest a method that would allow me to place the running total in the Report Footer of the main report and get the correct value that is visible in the Group Footer just above it?

    Post Author: V361
    CA Forum: General
    you may need to select evaluate on group, or reset on group to get this to work.  or just use the shared variable to bring the total down.

  • Summaries Running Totals....

    Hi,
    Can any one help me how to summaries running totals....
    Let say
    Iam calculating number of days per person with some formula,  then iam doing running total for total days by group, till now everything is fine.
    Now i want to summarize these running totals by regionu2026
    I did try to do again running totals. But i can not see the previous running total which I created for Group in the list to add that running total to the field to summarize tabu2026
    How can I Summarize those Running totalsu2026
    Thanks,
    Krish...Yearly

    Try again calculating the total number of days for each region instead of group. Or you can try creating manual running totals by creating formula like this
    whileprintingrecords;
    numbervar i;
    i:=i+{running total};
    regards,
    Raghavendra.G

  • Calculated field in List not reaching workflow

    I have a list that looks up a value in another list.  I also have a calculated field in the list that finds the ID number from the lookup field by finding the ;.
    When my item created SPD workflow runs, the calculated field has invalid data (#Value!).  When I view the list the calculated field indeed shows me #Value! initially, but when I refresh the screen I see the ID number.  It as if the workflow
    is running before the calculated field has been calculated.
    I've tried pausing the workflow for 2 minutes to no avail.  I set the calculated field to show NULL if it could not find the ; in the lookup field, and then have the workflow wait until the calculated field no longer had NULL but the never stopped
    waiting.  And I don't see a way of using a string function in the workflow instead of doing it in the list as a calculated field.
    Why is this happening and how can I fix it?
    Please help.
    John

    Hi John,
    I tested the scenario per your last post, and the workflow and calculated column worked fine if I used the Pause for Duration step in the workflow(text is the field where the calculated column gets data and loop is the lookup column):
    In the third step it can log the ID obtained from the calculated column.
    The third step in the workflow runs faster than the calculated column, so we need to add a pause after setting the text field where the calculated column gets data.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Running Total not working

    Dear all,
    I am creating a new report which needs a conditional running total.
    I need to sum the credits quantity if the following condtions are met
    line_type="S" and
    line_no<3
    I used running total like this
    Field to summarize: lab_credits2.credit_qty
    Type of Summary: SUM
    Evaluate: Use formula
    {lab_credits2.line_type}="S" and
    {lab_credits2.line_no}<3;
    Reset: On change of group (Reason Code).
    When I ran the report, it did not produce the right results, so I placed the line type and line no into the same Group footer and ran the report.
    I found out that the report is not filtering the linetype and line no.
    Result shows
    Line Type ="S" - 100 - Line number =1
    Line Type = "M" - 200 - Line number=6
    and so on.
    The report is grouped by Reason Code.
    Any ideas why would it not be filtering the records?
    Report Record Selection Code
    {lab_credits.credit_date}>={?startdate} and
    {lab_credits.credit_date}<={?enddate} and
    {lab_credits.credit_status} = 2;
    Status=2 is needed there to filter the Order numbers correctly.
    Many thanks
    Regards
    Jehanzeb

    Thanks James,
    I have put all three in detail and used the filteration and it worked under detail section however the results when used in total SUM is produced incorrectly.
    I suspect it might be of database table linkage? or maybe I have done something wrong in the report.
    I am going to create another report and see if that works.
    Will post info here.
    Regards
    Jehanzeb
    Edited by: Jehanzeb Navid on Sep 4, 2008 11:55 AM
    Right I found the issue however I don't know how to resolve it.
    I have 4 tables in the database
    1: Lab Credits - Order_num, Credit_status, Reason_code
    2: Lab Credits2 - Order_num, Line_no, Line_type, Credit_qty
    3: Lab Reasons - Reason_code,Reason_description
    4: Oetrn2 - Order_num
    This is how they are linked up
    Lab_Credits_Order_num = Lab_credits2_order_num and oetrn2_order_num
    Lab_Credits_Reason_code = lab_reasons_reason_Code
    Report Grouping
    Grouped by Reason Code
    Date range - month to date
    Report Record Selection
    {lab_credits.credit_date} in monthtodate and
    {lab_credits2.line_no}<3 and
    {lab_credits2.line_type}="S" and
    {lab_credits.credit_status}=2;
    Now the issue
    When I add sum of qty of lab_credits2_credit_qty into the report Group footer,it produces the right results However when I add
    DistinctCount of Oetrn2_Order_num into the Group footer, it creates totally different Sum of Lab Credit Qty results. (Please note: The oetrn2_order_num results appear fine, however they messup Sum of Lab_credit_credit_qty).
    What do you think where am I doing wrong?
    It has to be something to do with table linkage.
    Regards
    Jehanzeb

  • Running total / Summary - 3 groups

    Dear All,
    I am facing an problem in Summary / Running Total in my crystal  Report. I have 3 groups as under :
    1) Document Series
    2) Territory
    3) Transaction Details which includes Document Total
    Now Example my document series is Projects and Territory is Japan and India and in Transaction Details which is document total has values of 100, 200, 300,500 for Japan and 300,400 for India
    Now I am not able to bring a summary / running total of Japan which should be 1100 and for India 700 respectively.
    I want summary for Document Series Also means for Projects it should show the total of 1100 + 700 = 1800
    and a grand total of 1800 if its only projects series and if other series it should show projects + handling series.
    Pleas help as I have tried but not been successful.
    regards,
    kamlesh

    for Territory Running total
    1. Field to summarize : documentTotal
    2. Evaluate : for each record
    3. Reset: on change of field -> Territory
    Place it in Territory Group footer
    for Document Series Total
    1. Field to summarize : documentTotal
    2. Evaluate : for each record
    3. Reset: documentseries
    Place it in Document Series group Footer
    for Grand Total
    1. Field to summarize : documentTotal
    2. Evaluate : for each record
    3. Reset: never
    Place it in Report Footer
    HTH,
    Jyothi

  • Running Total Issue:  How to calculate counts excluding suppressed records

    Post Author: benny
    CA Forum: Formula
    Hello All:
    I have a current report that gives the total counts of work requests.   However, in my section expert, there are some records in the detail that are suppressed (if there isn't any backlog). The current running totals are counting all the records including the suppressed records. I think I need three formulas:1. Calculate the counts2. Calculate the counts excluding suppressed records3. Reseting the counts by group
    May I ask if someone can give me an example of what I should do?
    Thanks so much!
    Benny

    Post Author: benny
    CA Forum: Formula
    Bettername,
    Actually, I should have been more specific.  This report is actually a PM backlog report.  It displays all the work requests (PM) issued including the backlogged. There are 9 columns (including one called Backlog) for the different counts of the pm's based from the status codes (Issued, Material on Order, Completed, Cancelled, etc) of the work requests. The detail records of worke requests are grouped by shop and PM end date.  The running totals are calculated at the pm date group level (group footer#2). Then based from those at the shop group level (group footer#1) there is a grand total of counts of the running totals. The detail records and pm end date group header (group header #2) are suppressed.
    Now the foremen would like the report to just display all the backlogged PMs. Using the section expert, I suppressed all the PM issued that have no back log ({@ backlog = 0}) and just display the back logged pm's.  This is where I run into the running total issue.
    This is very involved report and I will use the column PM Issued as an example.  I can still use the same logic as you suggested?
    1. declaration formula:
    whileprintingrecords;numbervar pmissued := 0;
    2. Suppression formula that uses the variable:
    whileprintingrecords;
    numbervar pmissued;
    if ({@ backlog = 0}) then pmissued:= pmissed else pmissued:=pmissuedr+1
    3. Display formula:whileprintingrecords;
    numbervar pmissued;
    If this is the right track, then I can use the same example for the other columns. 
    Thanks so much.
    Benny

  • Running total above Group

    Hey,
    I may be having a brain freeze.  I need to print a running total (max) above the detail lines of a report.  Since the running total is not known until after the detail lines, is there a way to do this?  I'm stuck and frustrated.  Thanks,
    Jim

    I'm starting to think I am going about this in the wrong way.  My report has a field named 'tolerance' which is on every other record but does not appear in the report detail.  It is the same value for every record in the group.  I need to capture the value and display it in the group header.  I was attempting to do a max() running total, and the field looked fine in the group footer, but when I copied it to the group header to changed to blank.
    I think there must be a simpler way to do this, but I don't know what it is.  Thanks for your help,
    Jim

  • Discoverer plus running totals

    hi,
    any help will be appreciated.
    I use Oracle discoverer plus. recently I tried to build a running total (average) calculation using the template provided. I defined 10 previous observations for this purpose. discoverer performed the calculation but the problem is with the first 9 (in this case) observations of the new calculation, because it averaged the first first observation, than the first two, than the first three and so on. when you get to the tenth observation it becomes correct, but you can imagine it is problematic, especially the graphic presentation. if I could present the graph only from the tenth observation and on it would be an acceptable compromise. any other suggestions are welcome too.
    Thanks.
    Mark.

    Hi,
    I am afraid it is not at all clear what you are trying to do here. If you think of your results as a table of data do you want your calculation to be the same for all rows, a group of rows, or a running calculation changing for each row. Any graphical representation must be based on this underlying data.
    Rod West

  • Cumulative Sum/Running Total Help

    I have searched through the existing questions for some help, but cannot find a similar question.
    I am attempting to do a running total on a field where one week could not have anything to "add" to the running total.  Is there a way to get the running total to show for a group that does not have data in the set?  The data, received results and desired results are below.  I only get the running total to show when there is data, but I would like to show the running total regardless. 
    ex data:
    groups
    39       38       37       36       35        34        33
    counts for running total
    1         0         0         3         2          0          1
    received results:
    groups
    39       38       37       36       35        34        33
    counts for running total
    1         0         0         4         6          0          7
    desired results:
    groups
    39       38       37       36       35        34        33
    counts for running total
    1         1         1         4         6          6          7

    I take it that under Received Results, the groups with zero counts are not actually showing, not that they are showing zeros, right?  If that is the case...
    You have to ensure that you get a record from your data set for every group.  For example, if your data is currently returning the group and the count, you could use a database command as your data source that looks something like this (MS SQL):
    select groups.code, isnull(data.counter, 0) as Counter
    from groups
    left outer join (
      select data.code, count(*) as counter
      from data
      where data.date between dateadd("d", -7, getdate()) and getdate()
      group by data.code
    ) data on groups.code = data.code
    This will return records like:
    Code   Counter
    39     1
    38     0
    37     0
    36     3
    35     2
    34     0
    33     1
    Now that you're getting a record for each group, your report should then show the running total for each group.
    HTH,
    Carl

  • Running totals

    Post Author: neils
    CA Forum: Formula
    Hi,
    I have built a crosstab in Crystal XI with the following columns:
    PROFILED BUDGET (a)                            EXPENDITURE TO DATE (b)                        VARIANCE (a-b)
    The profiled budget and expenditure to date columns are both running total fields.  I want the variance column to show the difference between the budget and expenditure. 
    o                                To set the variance field up as a running total, I assume that I would have to specify that I want this formula evaluated after the budget and expenditure fields , however, I can't work out how to do this on a crosstab. 
    o                                Moving the crosstab to the report footer has had no impact.
    o                                If I try to create a basic formula using the running totals, I get the error message "A summary has been specified on a  non-recurring field" - I can't find an explanation of this error message on the help menu.
    any ideas how this can be solved?
    cheers

    Post Author: GailPray
    CA Forum: Formula
    Try creating your own cross tab in the report footer by drawing your own grid and creating individual running totals for each field based on their individual conditions.  Rather than using the cross tab expert.  This way you can create a formula for your Variance column using the running total fields for column a and b.  Itu2019s tedious but it works.

Maybe you are looking for

  • Production order: Automatic Generation of settlement rule .......

    Hi Gurus, I am trying to settle a production order to a cost center. I have already define a settlement profile with Cost center as the default reciever and assigned it to the Order type but when I tried to settle it, I have to create a distirbution

  • How to display rich content with URL in adobe flash builder and flex for mobile apps?

    Hi,   In Apple IOS SDK, I used the WebView control to display the rich text with Bullets, different font style, images within the text and the URLs also within the text as HTML content. Clicking on the URLs automatically opens the respective webpage

  • For the iPad, using OS  7.02, how do you now close an application?

    For the iPad, using OS  7.02, how do you now close an application?  When I double click, go to the task bar and touch on the icon, it no longer gives me the option to close the application.  Do you no longer need to quite an application?

  • X does not start yet returns no error

    Hi, I get the same problem as some others:     http://bbs.archlinux.org/viewtopic.php?id=36209 X returns the following output on stderr: xauth:  creating new authority file /root/.serverauth.5993 X Window System Version 7.2.0 Release Date: 22 January

  • Alert with more than three buttons in forms 6i

    Hi, In forms 6i I have a code like: first_record; loop if <validation> then **(1)** <alert indicating "Yes", "Yes to All", "No" , "No to All", "Cancel"> <some action depending on alert response> end if; exit when :system.last_record = 'TRUE'; NEXT_RE