Not able to clear out a formula field value when variables are equal to 0

I am trying to calculate the difference between a formula field from a main report and a formula field from a subreport. When i run the report i get a correct difference calculation only when both formula fields have a value different than 0. When both values are 0 then the difference calculation shows the last item quantity from the formula field in the subreport that had different values than 0.  It looks like the difference calculation is not being clear out before jumping to the next value calculation.

try to clear the variable values once done with calculation like
whileprintingrecords;
shared numbervar i:=0;
regards,
Raghavendra

Similar Messages

  • SQL Select using LEFT OUTER JOIN returning field values when I expect NULL

    I am having problems with this select statement:
    SELECT distinct pl.id, th.trip, pc.country, pph.location
    FROM people_list pl, people_travelhistory th, people_country pc
    LEFT OUTER JOIN people_info pph on pph.id=pl.id and pph.country=pc.country
    where people_list.active='Y' and people_list.id=th.id and th.trip = pc.trip;
    The criteria is that the pph table may not have no record for that id and country.
    The problem is that the pph.location field is returned with data even when no matching record for that id or country exists.
    If the record doesn't exist in the pph table, I want pph.location = NULL
    What am I doing wrong?
    Thanks in Advance!
    Developer

    Hi, You can try this :
    SELECT distinct pl.id, th.trip, pc.country, pph.location
    FROM people_list pl, people_travelhistory th, people_country pc
    left outer join people_info pph on pph.id = pl.id
    left outer join people_country pc on pc.country = pph.country
    left outer join people_travelhistory th on th.id = pl.id
    where pl.active='Y' and th.trip = pc.trip;
    Knowing that you requesting people active that have travelled to their own country.
    Regards

  • I am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going of

    i am using numbers in the new iWork. Just bought it 10 days back. I am not able to figure out how to add serial umbers from 1 to 100( for example) also i need to freeze the top header like in windows so that we can browse down without the heading going off. Can some one help?

    Hi Jay,
    Be aware that "Freeze Header Rows" and "Freeze Header Columns" apply only to rows and columns that are Header rows or Header columns. You can have up to five Header rows, Five Header Columns (and five Footer rows) on a Numbers Table.
    "Header rows" is a special designation. Besides being able to be frozen, Header and Footer rows are not included in formulas referencing whole columns, making it possible to place formulas such as =SUM(B) at the top (or bottom) of column B without causing a self-reference error, These designated rows are also not included in sorts of the rows in a table.
    Regards,
    Barry

  • Not able to find out invoice level for customer collection

    Hi Experts,
    We are not able to find out  invoice level payment details for the collection
    They are provided collection amount and reference no, but here problem is customer have more than 20 company codes and they cleared in multiple co.codes , also user not maintained any reference while clearing the invoice, so we only able to find out the collection amount but we dont know for which invoice it is cleared.
    can any one help us,

    The given link take to the window where CPU patch for all the quarter available.
    The Critical Patch Updates released to date are listed in the following table.
    Critical Patch Update Latest Version/Date
    Critical Patch Update - October 2012 Rev 1, 16 October 2012
    Critical Patch Update - July 2012 Rev 1, 17 July 2012
    Critical Patch Update - April 2012 Rev 2, 19 July 2012
    If I click on Critical Patch Update - October 2012 its takes to the window for selectin the database version (11.2.0.3). From there it goes to the Patch Set Update and Critical Patch Update October 2012 Availability Document [ID 1477727.1] which I had already checked.
    There for the database products it shows the below option.
    Table 9 Patch Availability for Oracle Database 11.2.0.3
    +*<moderator edit - deleted MOS Doc content - pl do NOT post such content - it is a violation of your Support agreement>*+
    It doesnt have the sepreate CPU patch. The below CPU patch is for the OC4J. I had a check.
    Thanks
    SHIYAS M

  • F110- not able to clear the debit and credit entry with the same reference

    Hi,
    I am not able to clear the debit and credit entry with the same reference in F110 even after having the payment terms as immediate payment, payment method is maintained in document no and vendor master data. Both debit and credit entry is appearing in FBL1N as an open item but it is not appearing in F110.
    In Log message appear as 8 days grace period is existing whereas as payment term is just 0001- immediate payment.
    Kindly advice me what could be wrong.
    Thanks,
    Manya.

    Hi,
    Credit and debit balance in vendor account are not cleared automatically when only vendor line item has payment method and credit memo has not payment method. Also when there is not payment method maintained in vendor master data.
    In such case to avoid payment to vendor when vendor has debit balance we perform debit balance check.
    In second scenario when u2018individual paymentu2019 is selected in vendor master data vendor invoice and credit memo are not cleared automatically in F110.
    To setoff vendor credit and debit balance in F110 you to uncheck u2018individual paymentu2019 check in vendor master data > company code data > payment data.
    Thanks!
    Raju

  • Not able to get Out-of-the-Box Examples Index Page for running the jsp examples

    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas

    Hi.
    Please post all WLS 7.0 beta questions to the beta newsgroups -
    weblogic.developer.interest.70beta.*.
    Thanks,
    Michael
    Vikas wrote:
    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • Not able to clear the credit balances in EURO EEFC account u2013 150180

    Hi Friends,
    Not able to clear the credit balances in euro foreign currency account 
    Kindly do need full.
    Thanks,
    SRIKANTH

    Dear Srikanth,
    Can you be more elaborate. If you are trying to clear the EURO account in your local currency, if system issues error message, then in OBY6, select check box no diff in forex when clearing in local currency.
    If this is not the issue, please elaborate in detail.
    Thanks
    Aravind

  • Is there any way so that I Being able to clear out old data from the Order

    Hi Friends,
    Is there any way so that I Being able to clear out old data from the Order Gate forecast, tolerance, and confirmed order to date tables on a monthly basis?
    Means I want data in data table for particular time (I want that if suppose today is 13-11-2008 then my data table must contain data from 13-10-2008 to 13-11-2008.
    Is it possible thru ABAP development or thru any t codes ?
    Any pointers will be rewarded.
    Regards

    hi,
    Before archiving you have to put the Deletion flag for the object(May be for PO, MMR etc as per your req.)...
    After that the you use the archiving procedure to archive the docs which are already flagged for deletion...
    For MMR you use the transaction SARA...and its respective object for the archiving....
    You can use the SDN search to see the many threads on it...
    Or use this link as per your req. and make the search...
    http://help.sap.com/saphelp_erp2004/helpdata/EN/75/ee0fa855c811d189900000e8322d00/frameset.htm
    Regards
    Priyanka.P

  • HT1277 all of a sudden I am not able to send out mail. I have checked and rechecked my account information including incoming and outgoing server info.

    all of a sudden I am not able to send out mail. I have checked and rechecked my account information including incoming and outgoing server info. Does anyone know what the problem might be? Thanks

    If you're having trouble sending mail, then either the SMTP (outbound) mail server settings — the server, the port, the user, the password, and whether SSL is in use or (unlikely) not — are incorrect, or the mail server is offline or has been reconfigured. 
    The SMTP (outbound) settings are in Preferences, but are buried rather deeply.  Select Preferences > Accounts > select the account > switch the outgoing mail server (SMTP) to Edit SMTP Server List... and then select the SMTP server from the list, and verify that the settings are correct with your ISP, and that your username and password are correct.
    The required settings vary by your particular mail ISP; you'll have to check with the ISP for the server and login details.
    To test settings, select Window > Connection Doctor > then (when the tests fail) show the details, and (if you can't sort out what happened) sanitize the settings and post the output here.
    Caveat: do not repeat password tests with the mail server, as various mail providers can be configured to assume these are a password brute-force attack, and lock out repeated login attempts.
    Caveat: never, ever, ever, ever, ever, ever, ever not-at-all enter a password when Mail pops up a dialog box with the "OMG YOUR PASSWORD IS WRONG!!!!!!!!!!! PLEASE ENSURE YOU CANNOT LOG IN AGAIN!!!!!" dialog box.  (I'm paraphrasing that error dialog box slightly.)  The correct answer to that Mail.app password dialog box is almost always "cancel" button.  Passwords stored in Keychain generally don't get lost or corrupted, and trying random passwords as that dialog box encourages just gets you locked out of various servers, and...

  • Not able to find out the path where i need to place the .plx file on server

    I have to make some changes in the PLL (library) file and compile it into it's .plx file and move the .plx to the server.
    I am not able to find out the path where i need to place the .plx file on the server.
    I have placed it in /iasapp01/app_name/library,but it is not taking it into effect.
    Please help,if anyone knows about this,as to how to solve this issue
    Thanks
    GAG

    Hi Andreas,
    My Forms Version is 9.0.2 and the application server is 9iAS( 9.0.2)
    The variable FORMS90_PATH in the .env file has the following entries
    FORMS90_PATH=/iasapp01/app_name/fmx:/iasapp01/app_name/library:/iaspp01/app_name/html
    and i have placed the plx in the /iasapp01/app_name/fmx path,but somehow its not referencing it.
    My Formsweb.cfg has the following entry...
    [app_name]
    pagetitle=app_name_WEB
    serverapp=/app_name/app_name
    width=800
    height=550
    colorscheme=blue
    separateframe=true
    form=log.fmx
    otherparams=REPORT_PATH=/iasapp01/app_name/html/report_files/ FILE_PATH=/iasapp01/app_name/rep/
    WEB_PATH=http://server.com:7778/app_name/
    envfile=/ias01/app/oracle/product/ias_9.0.2/forms90/server/app_name.env
    I have another question which is ..Does applciation built on Forms 9.0.2 would work on Internet Explorer 8 and Windows 8 environment using Sun JRE.
    I was going through this website
    http://nutthaphon.blogspot.com/2009/05/how-do-jinitiator-and-jpi-parameters.html
    and followed the steps as mentioned,but it did not work for me.
    Can you help me if you have any info on this?
    Thanks
    GAG

  • I'm not able it to type into the field for the serial number.

    I have a Mac Book. I purchased a download card from Fry's. After pressing "accept" for the terms on my computer I'm not able it to type into the field for the serial number. What's wrong?

    Are you sure it's a serial number and not a redemption code? A PSE serial number is 24 digits beginning with 1057. If you have a redemption code, here's what you need to do:
    http://helpx.adobe.com/x-productkb/policy-pricing/serial-number-retrieval-process-faq.html

  • Before updating my iPhone 4S, I could double click the home button, and delete all of the previously opened apps. I am not able to figure out to do that now, after installing the latest update. Does anyone know how to do this?

    BEfore updating my iPhone 4S, I could double click the home button and delete all of the previously opened apps. After updating, I am not able to figure out how to do this. Can someone tell me how to do this?  Thank you.

    After you double click the home button you swipe up on the app screenshot.

  • I m not able to find out where is check out and open component(WCM)

    hi everyone,
    i m not able to find out where is check out and open component and how it works. As m not able to open & edit the native document that m assigning.Plz help me in this ASAP

    Here's what I found. If you have a metalink login, try these links. Depends on what version of COAO you need.
    CheckoutAndOpenInNative
    Patch 6602355 Build version=2007-03-22 for 10.1.3.3.1
    http://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=6602355
    Version=2007-03-22 on edelivery in UCM Downloads
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:12648830947583585595::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,455524.1,1,1,0,helvetica#downloads
    Version=7.7.0.244-2006-07-31 on edelivery in UCM Downloads
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:12648830947583585595::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,455524.1,1,1,0,helvetica#downloads
    There's actually a mapping here to figure out what file these extras are in:
    https://metalink.oracle.com/metalink/plsql/f?p=130:14:12648830947583585595::::p14_database_id,p14_docid,p14_show_header,p14_show_help,p14_black_frame,p14_font:NOT,455524.1,1,1,0,helvetica

  • My tomcat server is not able to find out the servlet

    Hi
    I m working on Tomcat 4.2and i have java installation jdk 1.4.
    But my tomcat server is not able to find out the servlet.
    i have also made entry in web.xml file.I have compiled dervlet file.But yet not able to run it in tomcat.Plz help me

    Go to the Tomcat site and read the "First Web App" docs. I'm sure you didn't deploy your servlet properly.
    %

  • Please can anyone help me to download some apps for my iphone .. i am simply not able to log in to the itunes store , when i enter my apple id it says that it has not yet been used with the itunes store

    please can anyone help me to download some apps for my iphone .. i am simply not able to log in to the itunes store , when i enter my apple id it says that it has not yet been used with the itunes store

    Ok, you should generally only get this when you are converting your ID to an iTS account for the first time.
    Sign into iTunes with your Apple ID and you should get this.... IRC once you agree or accept it's now an iTS account and you wont get that again.

Maybe you are looking for

  • I have an ipad and want to buy an ipad mini. Can I transfer everything over?

    I have 3 ipads under one apple ID and soon to have a fourth. I want to rearrage who has what device. Here is how they are now: iPad 3 16m wifi:User 1 iPad 2 16m wifi:User 2 iPad 2 16m wifi:User 3 User 4 currently has no ipad. User 1 is getting a new

  • After format crisis. I can't get things out of my ipod

    I've formatted my computer after lots of issues on my HP with Vista. I figured I can just sync back to iTunes so I didn't back up any of the media in my 32gig ipod touch. Well, I've reinstalled windows and itunes and trying to sync my media back into

  • Using understudy with hulu in front row

    Hi, I have been using understudy for front row for sometime. I pretty much can modify file menus etc so I know my way around the core files but I seem to have a problem watching anything on hulu using understudy. I supply my feed and everything shows

  • BW : Line Item Dimension

    Hii All, Can you plz explain what is Line Item Dimensions...with examples.I am confused. Plz help. Thanks &  Regards, Madhavi S Bichakal

  • GetChild by x, y position?

    Is there a method that does this that I just cant see? I have two uints which represent an x, y position of an unknown object. I need a way to figure out what is that object at the known x and y position. I've tried getObjectsUnderPoint which returne