Array not printing  correctly from main to subreport

Hi All,
   I am using an array to print values from a main report to a subreport.
Here's the array formula I use in the group footer of my main report:
whileprintingrecords;
stringvar strCalls;
strCalls:=totext(Sum ({Group.Calls}, {Group.GroupNumber}))"^"strCalls
this produces a string of:
number4number3number2^number1
Here's the formula I use in the group header of my subreport:
WhileReadingRecords;
stringVar array arr;
numberVar i;
arr:=split({?Pm-@Calls Array},"^");
i:=i+1;
if i<= Count(arr) and arr<i><>"" then
arr<i>
else
this produces number4 on the first printed header and then blank for the rest of the headers.
My question is why are number3,number2 and number1 not printing?
Thank you in advance.

I think you need to split your formula into two
@formula1:
WhilePrintingRecords;
stringVar array arr;
arr:=split({?Pm-@Calls Array},"^");
place this @formula1 in report header of subreport and suppress it.
@formula2:
WhilePrintingRecords;
stringVar array arr;
numberVar i;
i:=i+1;
if i<= Count(arr) then
arr<i>
else
Place this @formula2 in group footer where you want to show the value in subreport.
Regards,
Raghavendra

Similar Messages

  • PDF will not print correctly from any app

    I seem to keep on getting the same error everywhere I print on SL (from safari/firefox/preview etc etc)
    It will usually print any lines or logos but miss all text?? I did have the dreaded adobe reader installed but have since removed it?
    I am in urgent need of printing out some manuals for a class so in real trouble, help!

    Where do these PDFs that do not print correctly come from? Are they downloaded from the internet or from email? Or do you create them yourself on your computer? If so, in which program?
    Do some PDF files print correctly, but not others? Did you remove the dreaded Acrobat Reader before this problem developed or after? Did this problem develop only after you ungraded to a certain release of Snow Leopard or has it never worked in SL?
    PDF is wonderful technology, but every so often there can be issues.
    Arch

  • AI images not printing correctly from InDesign

    (Reposting from Color Management Forum)
    First off, please forgive me if this is  not the right forum or if I am not using the right terms.  I am the network admin for our company and I'm posting this on behalf of our designer.
    We recently added PostScript drivers to our Sharp printers, and we have been seeing odd printing results when printing embedded .AI files.
    We use CreativeSuite CS5, and our developer has hundreds of images with pure white and transparent backgrounds stored in .AI format.  When these images are embedded/linked to an Indesign document they print with a solid black background and what appears to be an inverted color pattern, almost like a photo negative.
    All embedded EPS images print fine.  The affected .AI files print fine when printed directly from Illustrator.
    The embedded images print fine using a PCL driver.  We are trying to implement the Postscript driver for better color quality.
    Any ideas?
    (We are using Windows XP SP3, x86
    Server based network printing on Windows 2003 x86)
    Thanks in advance
    Matt

    Unfortunately, no we are still dealing with it.  Like you, I have found very little on this anywhere else.
    Sharp has been very helpful, trying to see if it is something in the PS drivers, but to no avail.  I'm pretty confident that there is nothing wrong with the PS drivers since everything else prints just fine.
    So far, our designer is either converting images to EPS documents or converting the InDesign file to PDF before printing.  Frustrating and time consuming are an understatement, but it is getting the job done.
    If you do find something, please post back here! I'll do the same.
    Matt

  • Upgraded to CS5 Illustrator form CS3 Illustrator. Colors are not printing correctly in CS5

                                                I have just recently purchased CS5 Premium Suite.  I am working with Illustrator.  When I print my CS3  Illustrator files in CS5 the colors are not printing correctly.  Is there a way to fix this problem

    I've been doing more troubleshooting since I wrote this post. I've now tried printing from a non-Adobe app and I'm getting the same margin error. So it is definitely a Xerox issue and I have a tech coming out on Monday.
    The reason I originally figured it must be an CS5 issue is because just two weeks ago when I was using CS2, our landscape-oriented programs were printing with .25" margins as they should. Then last week after upgrading to CS5, the inside page (2nd page) was noticeably out of whack and shifted to the right (not left). But when I started trying to troubleshoot this week, everything started shifting to the left.
    The only thing different between those two weeks was the fact I updated to CS5.
    But obviously, my printer as decided to go to crap in more ways than one all in a two week period. Hopefully the tech can sort it out next Monday.
    Thanks!
    Christi

  • Adobe Acrobat Pro X 10.1.7 (Mac) does not print correctly.

    I have a Mac Pro (Model 1.1) with Adobe Acrobat X 10.1.7.  When an item is scanned, it appears correctly on the screen, but it does not print correctly.  I am sending along screenshots of what a scanned item looks like on the screen and then what prints. 
    Message was edited by: DFSons  Added photos

    Thanks Michael, have tried that, no luck. I will wait a couple of days to see if any other solutions come up (or if anyone else is suddenly having the same issue) before reinstalling Acrobat.
    [OK just tried sending a PDF attachment directly from another program (MYOB) through to Mac Mail and had the same problem so it is not an Acrobat issue afterall, it is a Mac Mail or Mac OS X issue. Will post this on the Apple site.]
    I have resolved the MYOB issue, it was working just painfully slow. So I still have the original Acrobat Pro PDF to Mac Mail issue if anyone knows of any solutions please?
    Message was edited by: jmgd

  • 7520 all in one will not print photos from photo tray from computer

    7520 all in one printer photodmart will not print photos from computer from the photo tray

    Hi,
    By default it picks main tray, you have to tell it to pick papers from photo tray:
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • Foreign characters are not printed correctly in Analyzer 6.5.0 and java 1.3.0_02

    Hi,I am using Essbase at 6.5.3 level and Analyzer Enterprice edition at 6.5.0 level. The java plug-in is at level 1.3.0_02.Foreign characters are corectly dispalyed in Analyzer java web client, but when I try to print the report the foreign characters are not printed correctly.I have changed the contents of the font.properties file all code pages from 1252 to 1250. The characters are still not printed correctly.How to "force" the Analyzer print the foreign characters to print?Thanks,Grofaty

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • CR2008 SP5 Labels not printing correctly

    Hi,
    I've got an issue were labels are not printing correctly to a Zebra printer. I'm using Crystal Reports 2008 SP5. The problem is the width is 10cm and the length is 7.5cm but Crystal is automatically changing this to landscape orientation which doesn't print correctly then. From reading older threads, a lot of people have had similar issue but according to this thread - CR 2008 V 12.3.0.601 Labels will not print correctly the issue should be resolved in SP5 but it's still not printing out in the correct orientation despite the print preview looking perfect.
    I've tried checking the No Printer option and the Dissociate Formatting Page Size and Printer Paper Size option and pretty much every other option I've seen mentioned but I still cannot get the label to print in the correct orientation. Has anyone succesfully got this working?
    Thanks

    Hi Gary
    What is the version reported when in the designer you go to the Help menu and then About... ?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • 11x17 tabloid does not print correctly

    I am using an HP Photosmart printer model 8550, my previous printer was an HP Photosmart 8750. That printer died and the 8550 is the newer model of the same printer. When trying to print an 11X17 document in tabloid, the page does not print correctly nor does it show in preview mode correctly. The page shifts to the upper left corner so that the left side and top of the document do not print. If you scale down the size you can get it to print the whole documentm but you cannot get it to use the whole 11x17 page. Anyone else with this problem and a solution? Thanks!

    [email protected] wrote:
    I am having a similar problem.  I have windows XL,
    and a hp Deskjet 9800.  I have been using PM 6.5 ever since it came out.  I publish a newsletter using tabloid fold in half, under booklet.  So it is a really a 4 page document.  It has always done fine until this week.  It prints the copy in reduced format that would fit on a 8 1\2 x 11.  I have tried every setting possible, with no success.  Today I downloaded the trial 7.0 version, it does the same thing.  I went back and printed old versions that a 3 & 4 years old they won't print right now, either.
    It's old software and new operating system/printer drivers. You are unlikely to get any help from Adobe or HP but you can try.
    Create a PDF and print that as it's unlikely the DeskJet has PS mode.
    BTW, booklet printing is far easier with ISO paper sizes.
    Move on up to InDesign while you can still get a big discount with PM Licence number.

  • Colors not printing correctly. Only blue and black work.

    I just got a new HP OfficeJet all in one inkjet 8620 printer. The colors aren't printing correctly. Everything comes out light blue with black lettering. I tried installing new cartridges (genuine HP) and also tried gently shaking the cartridges. But the problem persists.

    Hi @Iolanthe ,
    I see that you are experiencing issues with the colors not printing correctly. I would like to help you resolve this issue.
    I have provided a document with some steps to try to see if that will resolve the issue.
    Fixing Print Quality Problems for the HP Officejet Pro 8610, 8620, 8630, 8640, and 8660 e-All-in-One...
    Please let me know the results of the Print Quality Diagnostic Page?
    If the test pages are printing properly, it could be a software issue.
    What operating system are you using? Mac OS X: How Do I Find Which Mac OS X Version Is on My Computer?
    Check the driver name that is installed for the printer. Make sure it shows just the printer's name.
    Click the Apple menu and then click System Preferences. Click Printers & Scanners, highlight the printer name on the left side and on the right side of the screen it should show the printer's name. (Officejet 8620)
    If the full printer name isn't listed correctly, delete it and add the printer name back in from the list. Click the - sign to delete the driver and then click the + sign to add the driver, might have to click the drop down to select the printer's name to add it in.
    Let me know how the printer name was listed.
    From the application, make sure you are selecting the proper paper type.
    Try another application to see if you have the same issue.
    How is the printer connected? (USB/Ethernet/Wireless)
    If you need further assistance, just let me know.
    Have a great day!
    Thank You.
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
    Gemini02
    I work on behalf of HP

  • Photosmart - C4388 - Not printing correctly - PDF document

    Photosmart 4388 is not printing correctly when a PDF document is printed from Adobe Reader/ Adobe Acrobat Version 10 (Latest Version). Same line / part of line gets printed more than once for some lines.
    OS: Vista Home Premium (32 Bit)
    Hardware : Dell Studio 1735 - Intel Core 2 Duo
    Regards
    Shankar

    What do you mean its not printing straight?
    maybe its not correctly align?
    try to re align it... and see if it works
    19chinovz76

  • Illustrator PDFs print correctly from PC, but print too dark from Macs

    Photoshop and Illustrator PDF files (CS5 & 6) print correctly from my work PC, but not either of my Macs. See below:
    At work, I have a Dell PC and an iMac, at home I have a MacBook Pro.
    At work there is a big office color Ricoh printer for the Dell and iMac, at home I have a Epson 3-in-one laserjet for the MacBook Pro.
    Both the work and home Macs will print  Illustrator/Photoshop PDFs very dark/undersaturated/off color on their relative printers, but the work PC prints them correctly.
    At work, If you hold up a print of a PDF file printed from the Dell PC, and one printed from the iMac, they are completely different looking - the Dell print matches the Dell and iMac screens, but the iMac print is very dark and dull.
    At work, when I open a Illustrator or Photoshop PDF on the work PC and send it to the Richo printer, it comes out perfectly matching the screen, but, if I open it on the iMac and send it to the Richo printer, it prints too dark/off color.
    These are the *exact* same PDF files I am opening on both the PC and the iMac - our files are saved on a server so I'm accessing the same documents on both machines.
    Also, I create the files on the iMac and save them to the server on the iMac, but if I open them on the iMac it prints too dark, and if I open them on the PC, it prints correctly.
    At home on the MacBook Pro, the prints are also much darker than the screen (despite color calibration with a ColorMunki as well as following all Epson's color calibration steps) and I see a similar color problem as printing to the work printer from the work iMac.
    Someone please tell me this is just a printer profile thing and I can go in somewhere on my Macs and switch something so they print the same as the PC does!
    Thank you in advance for explaining why my Macs are making me pull out my hair!

    the iMac it prints too dark
    your print space is off on the Mac
    or you are applying the wrong source profile or both
    on the MacBook Pro, the prints are also much darker than the screen (despite color calibration
    EDIT: sorry i misread that as your monitor was also dark, if the mac displays the problem doc proper, you are targeting a bad print space, that's where i would look... 
    you app is apply the wrong source profile (or your monitor profile is off)
    basing the source>print space conversion on the wrong source profile could account for your printing woes
    be sure you are embedding an ICC profile in your doc, are opening it in a color-managed app, and it should display properly
    be sure your workflow uses the embedded profile and your printer is setup to convert to the proper printer profile
    color management theory
    epson workflow

  • I recently updated my operating system to Yosemite and now my HP printer will not print correctly.

    I recently updated my MacBook Pro to Yosemite.  Now my HP printer will not print correctly.  It takes forever to print and then it will not print the document in it's entirety.  I have tried to update the printer driver but there does not seen to be an update for 10.10.2.

    Printers not behaving? Reset them and start from scratch | MacIssues
    OS X- Printer and scanner software available for download
    Mac OS X- How to reset the printing system

  • HP Officejet Pro 8500A Premium will not print docs from computer, but will print a test page.

    HP Officejet Pro 8500A Premium will not print docs from computer, but will print a test page.  I continually get a message that the computer cannot communicate with the printer.   Not only will it not print docs, it will not print web pages using IE 11 or Google Chrome.
    I've used Print and Scan Doctor, it always reports there are no issues and prints a test page even though I can't print anything else. 
    Each time I want to print, I must reboot the computer.  After reboot I have one chance to print.   This problem started February 15, 2015.  
    My operating system is Windows 8.1.   I have unintalled the HP software, rebooted, then reinstalled the software:
    OJ8500_A910_1315-1.exe
    HP Print and Scan Doctor - HPPSdr.exe
    HPSupportSolutionsFramework-11.51.0049.msi
    All versions were last downloaded on April 4, 2015.
    I have a home wireless network (Ubee DDW366 router).  All other devices in the house will print to the 8500A printer without issues:  2 Toshiba laptops, 2 Android phones, and 1FireHD.
    The desk top is installed with a Netgear Network card I don't know the model, but I had it tested by a PC Tech to confirm that the card is working.   The card and Windows 8.1 were installed on January 3, 2015.
    I have run virus scans and malware scans.  Each time they show there are no issues with my desktop.  What kind of desktop? Specifically made to my specs from store parts. . . no brand name computer.  ASUS Motherboard P6X580 Premium.  Now I will probably get hacked!
    I am at my wits end.  And it is frustrating when I need to make a print of something and the system locks up.  I often resort to screen printing to a word document to save in order to reboot. . . .but then I lose all sorts of capabilites when I salvage what I needed.  Also this is a time consumer.
    This printer has served us well for two years and I have expensive cartridges waiting; another two rounds of refills.
    Help?
    Addendum:  I can scan using HP Printer Assistance.  I open the HP Printer assistant, it "retrieves" info from the printer, then I select "scan a document or photo" and the printer responds.   I have no trouble with scanning.
    This question was solved.
    View Solution.

    Hi ArielAce , thanks for getting back to me!
    I would recommend downloading and running the HP Print and Scan Doctor.
    Please keep me posted!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • Transaction Register Report not printing Correctly

    Hi,
    In Accounts Receivables Transaction Register Report is not printing correctly..
    Once I issue print job for Transaction Register Report...Blank page is coming..
    what is the cause..please suggest

    Does the print work properly with other reports? If so, I suggest you run the report in debug mode. Please check (Note: 226013.1 - How to run AR RXi reports in debug mode) for more details.
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=226013.1

Maybe you are looking for