Help with Crystal 8.5 formula needed...please help!!

Post Author: wibble1
CA Forum: Formula
I have a problem with a formula I am using to count records in a group with certain conditions. Here is the formula:
whileprintingrecords;
IF({Calls.PriorityID} = 2 and  not(right(stringvar Types,6) = '135.00')) THEN numbervar NoHigh := numbervar NoHigh + 1ELSE numbervar NoHigh
The formula is placed in a group footer and the types variable is just a string made up of values from each record in that group. So it could contain 122.00 135.00 132.00...etc. There are four of these formulas in the footer of the group, each counting a different priority.
Mostly this works fine but the problem is that if the last item in the group is of that priority, it counts it twice when the result is displayed in the footer of the following group. To give an outline of what the report is trying to do: The above formula is counting issues of a particular priority....so this group is grouped on each issue. The group after this is the date of the issue which is grouped by month. This is where I want to display the counts for issues in the month, and it is hear where the last call in the group is counted twice. Hope this makes sense. I am reporting of a SQL server 2000 database.
Thanks

Post Author: bettername
CA Forum: Formula
Maybe I'm misunderstanding, but would using a formula to show the current state of the variable be better when that's all you want to do (ie: display it).
I always have a something like a "priority counter - add" formula (which does what yours does), and a "priority counter - show" formula to show the current state of the variable.  That way you can be sure it's not adding to it when it shouldn't be...
whileprintingrecords;
numbervar NoHigh

Similar Messages

  • Help with email suppot on n96 needed please.

    hi, im hoping some one can help me with my problem, i downloaded the email update for n96, it's the 1st time ive used it, (the one with the pink @ logo.) i go through the email setup and ad my main account with another one. it worked for a while until both accounts got an email from nokia mail saying that its not working and gave me a list of reason.
    Dear Nokia Messaging customer,
    Recently, our email service has been unable to connect to your email service provider, preventing email delivery to your phone.
    This may occur due to one of the following reasons:
    1. Through your service provider, you have changed the email password of your email address. If so, you must update your Nokia Messaging service account with your new password. Email messages will then be delivered to your phone.
    2. The server for your email address is down. For more information, contact your service provider.
    3. You might have inadvertently changed a setting in your Nokia Messaging service account. Log in to your Nokia Messaging account on the website http://netac2.vie.hosting.nokia.com/account to determine whether your information needs to be updated.
    Sincerely,
    The Nokia Messaging Team
    now, i never changed any settings, or password information, and hotmail is saying theres is nothing wrong.
    can some one please help me?!?! thank you.

    please try and help some 1! This is really bugging me.

  • I have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    i have one of the old macbooks and wish to hook it up to my tv. do i need a mini dvi to hdmi adapter plus a 3 rca phono lead with a jack for the sound. please help as im useless at this stuff. cheers

    First we need to know which one of the 9 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info (and then System Report if you’re running 10.7 Lion). When System Profiler comes up check the Model Identifier and post it back here.
    The Late 2008 model 5,1 Aluminum Unibody and the Late 2009 model 6,1 and Mid 2010 model 7,1 White Unibody have a Mini DisplayPort. The Early 2006 model 1,1 through Early 2008 model 4,1s plus the Early and Mid 2009 model 5,2s have Mini-DVI ports. Each would take a different adapter to connect with the TV.

  • Help needed please, with Iphone stuck with apple picture and progress bar after software update attempted

    Help needed please, everytime I try to update the software version on my iphone it comes up with a message saying it could not be completed and is now frozen with the apple picture and progress bar on it. Do I unplug it and hope the macbook pro sees it again, I also stupidly did not back up before starting the download which I realise I will have to go back to the previous back up. This keeps happening, everytime I do this type of update, I'm starting to think I should just give up on updating my software on the Iphone. I thought it was happening because I was using a window based computer to do the updates, this time I used my Macbook Pro. Please somebody help

    ljm17 wrote:
    ...This keeps happening, everytime I do this type of update, I...
    Then you should know what you need to do... If you don't remember...
    See Here  >  http://support.apple.com/kb/HT1808

  • I am locked out of my iPad, I can't back it up because it won't connect to iTunes (because it's locked with a password) and I need it for school, it has all of my school work on it and the school doesn't have or passwords. PLEASE HELP ME!!!

    I am locked out of my iPad 2, I can't back it up because it won't connect to iTunes (because it's locked with a password) and I need it for school, it has all of my school work on it and the school doesn't have or passwords. I can't loose all of my work. PLEASE HELP ME!!!

    Hi ebby,
    Here are the instructions for a disabled device - hopefully you have sync'd with your computer before now?
    http://support.apple.com/kb/HT1212
    Good luck!
    Cheers,
    GB

  • I cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    i cant use the highlight, underline, or strikethrough function in a specific pdf file. The file isnt locked. I used to highlight texts from that file before the latest update. The problem occurs only with that file. Urgent need. Please help. Thanks!

    Chester31,
    Thank you very much for sharing your file with us!  Now that we are able to reproduce the problem at our end, you may stop sharing the file on Acrobat.com.
    Do you know when this problem (for not being able to add new highlight/strikeout/underline) has started?  Did you update your iOS from 7.x to 8.0 recently?
    We will continue investigating the problem and let you know what we find.
    Thank you again for your help.

  • I am using InDesign CS5. I have a body of text which is ranged left with tabbed indents. My client now wants the copy to be justifed, keeping the tabbed indents. Help and advice needed please!

    I am using InDesign CS5. I have a body of text which is ranged left with tabbed indents. My client now wants the copy to be justifed, keeping the tabbed indents. Help and advice needed please!

    Hi
    That screen grab helps a lot. There’s a much easier way of doing what you’re doing.
    Remove all your tabs and set the text in justified paragraphs.
    I’ve typed in dummy text in the example I made below, but after “19.1” put in a space and put your blinking cursor after the space and before the ’N’ of ‘Notices'.
    Then hold down the Command key and hit Backspace (on Mac at least - it’s the key between the Inverted commas/ apostrophe key and the return key).
    The text will jump into place the way you want it to.
    Hope that helps
    Paul
    PS You can set a tab, instead of using a space, in the description I gave above. So, after 19.1 or 19.2 or 19.185 etc etc insert a tab, then hit the Command Backspace after every paragraph number and they'll all line up exactly together. You'll find that editing text within the paragraphs
    after you've set it will be LOADS easier this way.
    You can put the tab anywhere you want it to be using 'Command-ShiftT' and putting a 'left align' tab just after the number. Just type the Command Backspace after the paragraph number and it'll work

  • Help urgently needed please ! My Iphone 4 is on silent vibration mode, received a call and has frozen with the Iphone unusable and yet vibrating. I have tried switching off, connecting to power, connecting to laptop and removing SIM card ???

    Help urgently needed please ! My Iphone 4 is on silent vibration mode, received a call and has frozen with the Iphone unusable and yet vibrating. I have tried switching off, connecting to power, connecting to laptop and removing SIM card ???

    Problem solved... just saw the answer in another thread... https://discussions.apple.com/message/13110222#13110222

  • HT4199 I need help with getting my printer to print, PLEASE.

    I need help with getting my printer to print, Please.

    What have you done so far?
    I suggest you connect it via a usb  cable first.  Once you get the printer working, move to wifi.  You will have to use an existing printer usb cable or purchase a cable.  Be sure to get the correct cable.  Ask for help.
    The warrenty indicates there is phone support.  Give HP a call.
    Warranty
    One-year limited hardware warranty; 24-hour, 7 days a week phone support
    Robert

  • MOVED: need help with my k7n2 delta series motherboard please

    This topic has been moved to AMD SocketA based board.
    need help with my k7n2 delta series motherboard please

    "...the other memory ive been using is  memorymaxx 512mb ddr 3200..." If I understood right, your'e actually using both memories at same time so, your'e lucky if it works. We have said thousand times that mixing dif. brand/make/speed memories is a bad idea, most with this Mobo that is very picky about ram. If you want to avoid slowdown problems, stay with only one stick ( the better one ) until you can buy at same time in same store, 2 identical memories to replace the old one.

  • When I connect my iphone to my mac it says itunes will not work with my iphone cause it needs version 10.6.3 itunes,. problem is i have no idea how to down load that to my iphone when my mac will not connet to it cause it nees the down load help please

    when I connect my iphone to my mac it says itunes will not work with my iphone cause it needs version 10.6.3 itunes,. problem is i have no idea how to down load that to my iphone when my mac will not connet to it cause it nees the down load help please

    Ive got the same problem, just got my iphone unlocked, and they told me to sync it to itunes to get it permently unlocked, well everytime i plug my iphone in it says; it wont work as it needs up dating to 10.6.3, which i have already updated, but still doesnt work, so how can i get my phone unlocked?

  • Need Help with Crystal viewer and ActiveX

    Hi !!
    I have a problem that i cant seem to be able to solve. I had alot of help from the forum but i think i got everything mixtup now...
    From my addon i can print with CrystalReport Viewer or i cant print a Crystal report directly to my default printer, so thats good and working well. The problem is with Crystal Viewer that drags on the SBO screen and stays on the task bar.
    It is strongly recommended to use an Activex to display my Crystal Viewer report. I tried so many differrent ways allways ending up with class id errors, or private class errors.
    My report is called c:\report.rpt
    My Working CrystalViewer form is called 'frmCRV'
    Can some one help me thru this last step...  I tried with the Activex sample in SDK but i think i dont have to use the Tree function ??? am i right ??
    I'm running on SBO 2005 SP1 PL3
    Crystal Report .net V10 and .net for code.
    Thanks you all for your patience.

    Hi Again !
    I can now open a form with an Activex part but i cant pass my CrystalViewer in it. Always says specified cast not valid.
    Thanks

  • I just bought my MacBook Pro 13" and I tried to install an anti virus but then it went into a grey folder with a question mark I need help with restoring the iOS please

    I need help taking out the grey folder with the question mark and I've try everything except the CD thing because my MacBook didn't come with one so I really need help please

    What anti-virus software did you install? Although there's a lot of bad anti-virus software out there, no anti-virus software should cause such a problem. A gray screen with a flashing question mark on a folder means that no bootable system could be found, which means that the system was badly damaged or corrupt. Even installing bad software would not normally cause that, so either there was something badly wrong with the system already or the anti-virus software you tried to install was really, really bad!
    As mende1 says, you need to reinstall the system at this point. After your system is back up and running, read my Mac Malware Guide. If, after reading that, you want anti-virus software, use one of the programms recommended in that guide.

  • App coded in Crystal XI need to be compatiable with Crystal 2008. Options?

    Dear All,
    The product I am working on, works fine with Crystal XI. But now task is to make it work for clients that have just Crystal 2008 (not Crystal XI). (Even assuming there is no new feature that Crystal 2008 offer is planned in this existing application.)
    I was wondering what would be the best bet to make that application compatiable? Certainly we do not want to have two seperate application coded separatly for Crystal XI and Crystal 2008.
    I will appreciate any information, feedback, guidance that you can provide on this.
    Thanks

    am actually using Visual Studio .NET 2008 only with Crystal Reports XI R2. I was not aware of the fact that Crystal Reports XI R2 does not work with Visual Studio 2008. It could be that since I have both Visual Studio 2005 and 2008 in my machine, and this could be referring to old one.
    I believe Visual Studio 2008 came with .NET framework 3.5 and in theory 3.5 does all that 2.0 used to do. So I am not sure what would be the reason of .NET 2008 not supporting it. May be I am missing something, please help me clarify?
    - See the supported platforms doc here:
    https://websmp106.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000712240&_SCENARIO=01100035870000000202
    (choose Business Objects XI release2 / crystal reports -> crystal reports -> crystal reports XI r2 -sp2 - supported platforms.
    .NET 2008 is not listed. That is as far as this discussion should need to go. E.g.; do not use CR XI r2 with .NET 2008, or .NET 2010 when it comes out - if you do, you're on your own.
    Option-1) Now my worry is can same application; when installed on a client who has just crystal report 2008 (not upgrade from XI-R2) run-time installed, will work OK?
    As long as you run CR XI r2 with the supported version of .NET (e.g.; in your case .NET 2005) there will be no issues after installing CR 2008 as CR 2008 and CR XI r2 are side by side compatible. One thing I would highly discourage is running reports created in CR 2008 with CR XI r2.
    Option-2) Is there any change in existing code, I need to do so that irrespective of what run-time environment client has (XI R2 or, Crystal 2008), my application runs fine without any issue?
    If you install CR 2008 SP0 after installing .NET 2008, you should not need any code modification to an already working app. All that will happen is that the CR assemblies will get upgraded to version 12.x. Of course, you then need to distribute the CR 2008 runtime to your client / server computers.
    Any other option...
    Not sure where the confusion is, but I am not sure why we'd want to look for other options(?).
    Ludek

  • How to assign a variable value to crystal report viewer formula with CR2008

    Hi ,
    I am using crystal reports 2008 and i am not able to find how to assign  variable value  to crystal report viewer formula.
    In CR 8.5 , i used to have crystalreport1.Formulas(0) = variable1
                                             crystalreport1.Formulas(1) = variable2
    but, i don't find similar kind  in crystal reports 2008.
    How can i achieve the same functionality using crystal reports 2008.
    Thanks in Advance
    Regards,
    Ramnath

    Hi,
    Can i anyone help me out with this.
    I am generating crystal reports in vb6 using CR 8.5 and vb6 and below is the code snippet for the same
    CrystalReport1.Formulas(0) = "PrintTitle= '" & strMyTitle & "'"
    CrystalReport1.Formulas(1) = "FromDate= '" & MskFromDate.Text & "'"
    CrystalReport1.Formulas(2) = "ToDate= '" & MskToDate.Text & "'"
    Please let me know how the same functionality can be achieved in VB.Net using Crsytal reports 2008
    Any code snippet would be of great Help.
    Thanks in Adnvance.
    Ramnath

Maybe you are looking for

  • Uses RequestDispatcher and it gives me a blank page

    Folks, I am tired of this problem. I am doing a shopping cart. When the user views (ViewChart, a servlet) his shopping cart and decides to delete some of the items.. his request will be handled by ProcessCart which is also a servlet. ProcessCart will

  • 10g R2 OLEDB provider

    Hi, we have a client side application, on Windows and Oracle 10g R2. We use OLEDB templates from MFC (CDynamicParameterAccessor). There is a long query (4610 char) what provider return E_UNEXPECTED HRESULT (from execute, before the bind). No detailed

  • Exeption starting managed server from script

    C:\bea\wlserver6.1>"C:\bea\jdk131\bin\java" -hotspot -ms128m -mx128m -classp ath .;.\lib\weblogic_sp.jar;.\lib\weblogic.jar -Dweblogic.Domain=SRV_HNemarich - Dbea .home="C:\bea" -Dweblogic.management.password=system -Dweblogic.ProductionMo deEn abled

  • Pdf files not shown

    When trying to open PDF files in Safari 6 are not shown. It shows a gray screen. What do I do to view these PDF files directly in Safari?

  • Exchange 2010 Resource '(Mdb)MailboxDatabase001' is unhealthy and shouldn't be accessed.

    Hi Everyone We are getting the below error on all 3 of our mailbox databases when the msexchange assistant runs, we do have retention policies in place but everything in EMC says that all databases are healthy but this event says otherwise. Service M