Can we print an array of dates on the chart X-Axis?

Hi,
I have a requirement in which I have to print all the dates in the selected date range on the chart axis even though I donu2019t have the data for all the dates in my DB.I did not find any direct solution in Crystal Report Designer (2008, XI) except we can use "time scale" option in axes tab of chart option but this option also does not provide the required behavior completely.
After implementing this option I get the date range on chart but from the date I have data in the DB and to the date I have the data in the DB.
For Example, though I have selected the date range from 2nd April to 8th April, dates in the chart are starting from 5th April since I have the data in the DB of 5th April and 8th April.
To overcome this limitation of crystal report I thought of creating an array of dates of the selected date range. I can create the array of dates in crystal report but donu2019t know how to use this array in chart to show the summary data.
I also want to base my Group on this array since I want to show all the dates in group even with count zero.
Thanks & Regards,
Amrita

Hi Sourashree,
I am using the following formula to create an array of dates.
numbervar dateDiff:={?eDate}-{?bDate};
dateTimeVar array dateArray;
numbervar i;
for i :=1  to  7 do
    redim preserve dateArray<i>;
if(i=1) then
    dateArray<i>:={?bDate}
else
    dateArray<i>:={?bDate}+i;
This formula is a print time formula since when I specify "WhileReadingRecords" array remains blank (I have confirmed this by returning any single value from the array).
I can not base my Group and Chart on any Print Time formula since these two get calculates at read time.
Can you please let me know if there is any other way of creating the array at read time? Or should I create the array in main report and then pass it to sub report?
Regards,
Amrita

Similar Messages

  • Can not print with HP LaserJet 6L since the upgrade to Mavericks.

    Can not print with HP LaserJet 6L since the upgrade to Mavericks. Any alternative driver for this printer?

    I have an HP LaserJet 5P and had the same problem. My LaserJet is connected to a D-Link ethernet print server, then to an Airport Express to support wireless printing.
    As recommended in earlier posts, I first downloaded the Gutenprint HP drivers at Sourceforge, version 5.2.9 That did not work. Then found the reference to the Apple kb here: http://support.apple.com/kb/dl907
    Downloaded these drivers. When setting up the printer, I got the autoselect option for Generic Postscript Printer and used that. Printer worked, but printed out garbage. I then deleted the printer, and this time selected the HP LaserJet 5P CUPS + Gutenprint v.5.2.9 THAT WORKED! I don't know if was the combination of downloading the drivers from Sourceforge and the Apple kb, or just the Apple kb that solved the problem, but I'm glad this is now sorted.
    I was a bit surprised when I hit this snag to begin with because the last upgrade I did from Lion to Mountain Lion, I did not have this issue. It was seamless.

  • I lost my iPhone 4 in Brussels last week. It was in airplane mode when lost. I also use a code to unlock the phone. The phone was off when lost. My question is: Can a person access my personal data on the phone?

    I lost my iPhone 4 in Brussels last week. It was in airplane mode when lost. I also had a code to unlock the phone. The phone was off when lost. My question is: Can a person access my personal data on the phone? Can they take the chip out and place it into another iPhone and access the personal info on the chip or is the personal data on the phone itself and could they put a new chip in and access the data?

    I have Find my iPhone App, but it says that it is offine.
    I've checked all week and it is offline.
    I clicked on erase iphone when phone accesses the internet on the Find my iPhone App.
    I just want to know how safe is my personal information that I have on that iPhone?

  • Suddenly, I can't print any web page. After the print command, it wants to save it as a XPS file.

    suddenly I can't print any web page. After the print command it wants me to save as an XPS file and I can't get past that.
    == This happened ==
    Every time Firefox opened
    == few weeks ago

    I found that Firefox/XPS had deleted all printer driver setups except for the XPS connection. I had to reinstall my printer connection in order to have that selection present in the printer dialogue box.

  • How to extract the data from the chart. Data were not saved

    Hi everyone. Beginners question, but could not find an answer to it
    How can I get the numerical data from the chart. Chart is already on the screen and data vere not saved into file during VI run. All I have - just chart, but I need numbers       
    Thanks
    Message Edited by olka on 07-18-2007 09:41 AM

    You can still do it, the process just changes a bit...
    Copy the control to a new VI as before, and change it into a control.
    Create the diagram shown in the attached screen shot.
    Run the new VI. You will get two arrays: one of x-axis values and one of y-axis values.
    Mike...
    Message Edited by mikeporter on 07-18-2007 12:21 PM
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps
    Attachments:
    extracting xy data.JPG ‏5 KB

  • How can i print an Excel file when in the full screen mode (no print options on toolbar or right clk

    using Vista, sometimes after creating and saving an excel file, the document is not visible when the file is reopened.
    selecting full screen mode makes the document visible, but the toolbars disappear and the print option does not show up on a right click.  How can i print the document and see the document in some other mode than full screen?

    In order to print, you can click the CTRL+P keys to launch the print dialog,
    Regarding the missing toolbar, try clicking the ALT key to shouw the software menu, then look around under the view option for any available toolbar settings,
    If you cannot find it, i would recommend you to try the Microsoft support forums, as they have some more knowledge with their software features
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • All of a sudden I can't print from Firefox. I reinstalled the printer and also reinstalled Firefox. No joy. I can print from Safari.

    I have an IMac, OS X 10.5.8
    I've had it for more than a year and have always been able to print from Firefox without a problem. I have an HP deskjet 6850 printer.
    Now I can't print from Firefox. When I hit print, I get the dialog box but if I click print -- or even click "preview" nothing happens. The dialog box disappears and nothing prints.

    See this: <br />
    http://kb.mozillazine.org/Problems_printing_web_pages

  • Why can't I browse by release date in the Albums view?

    I listen to Vocaloid music, specifically Megurine Luka. When I want to check for new releases, I do a search for Megurine Luka. I then click on Albums to see a complete list of every album in which she has at least one song. That works great, but I can't refine the search by release date. I just get a seemingly random list of albums. So, to check for new releases, I have to go through all of them, looking at the release dates. Sometimes the new releases are at the bottom, sometimes in the middle, sometimes near the top. If I had the option to view by release date, it would make that much easier. Is there a way to do this, and I'm just not seeing it?

    Hi dddnlb!
    "Why can't I post a new topic in the Leopard discussions."
    The info posted below is also available in the Announcement How to Post a New Topic
    If you have a Technical question about Apple Hardware, Programs, Services, Technology, Software, Applications, Products, etc, from this page Discussions - Forum Home, select an appropriate Category from one of the sixteen divisions.
    For example, under Mac OS X Related Software, choose the Category Mac OS X v10.5 Leopard.
    On the page that opens, select a Forum, such as Installation & Setup, or Using Mac OS X Leopard.
    Most Category pages, have numerous Forums within them.
    But some may have only one, two, or three.
    For example, the Safari Category page, has three choices listed under Forum / Category:
    Safari For Windows
    Safari for Mac Support forum
    Safari 4 (Beta).
    And the Apple Remote Desktop Category, has only one Apple Remote Desktop Forum.
    From a Category page, select an appropriate Forum to post in.
    On Forum pages, there is an option to Post New Topic.
    More info here How Is Discussions Content Organized?.
    Edit: I have requested that a Host, relocate your Topic to a more appropriate Forum.
    As it will be transferred, it is not necessary for you to repost elsewhere, at this time.
    ali b

  • Premiere CS3: How can you encode xml cue point data in the chapter section of a marker for FlashVid?

    Hi there,
    I'm a total newb to this forum, so hello adobe premiere community! I'm perplexed by Adobes documentation on Premiere (and I'm sure I'm not the first ) anyway on the live documents page below:
    http://livedocs.adobe.com/en_US/PremierePro/3.0/help.html?content=WS9390BED7-9466-46ea-A0E A-3240F1AFC36C.html
    it states that:
    “The cue point data in the Chapter field of a sequence marker in Adobe Premiere Pro will be encoded as Flash XML. For the XML protocol required, see Flash Help.”
    Which is great…except this information doesn’t exist seemingly in either the Premiere documentation or Flash either for that matter, but as I’m interested in working with the chapter/marker area in Premiere – should I really be told to go off and search the documentation for another application, probably not!  What would have been useful would have been a code snippet saying you do it like this, but of course, that would make things too easy!
    Basically, I understand that in After FX you can add Flash marker information specifically for interpretation when exporting to Flash Video (i.e. name, type and parameters etc) and it suggests that you can do the same above in Premiere CS3 using some kind of concatenated string in the chapter area…it just doesn’t tell you how anywhere seemingly – WHY ADOBE!
    Currently when I export markers as cue points based on the advice in the page above, anything I put in the chapter section to force Premiere to create a cue point is converted to a string, which becomes the cue point ‘name’.
    This cue point name is then automatically appended to the ‘time’ the marker was inserted at and is always encoded as type ‘navigation’, with no obvious means of adding ‘parameters’ into the equation.
    So (finally) does anyone know if you can insert this information into the chapter area for correct interpretation by flash (i.e. thus allowing you to choose between either 'navigation' or 'event' types, and pass as many 'parameters' as you wish etc) or are you just limited to supplying a name, and it being automatically set to the navigation type with no parameters?
    I’m sorry for this long essay but at least the issue is well defined for you to answer, honestly any help you can provide what so ever would really be most appreciated!
    Best regards,
    Kat
    PS – I have utterly no knowledge of XML either just in case you were wondering – and my only interest in XML is getting this basic information encoded into the FLV file from Premiere Pro CS3! Please help, pretty please with daisy’s!!!

    Hi dradeke,
    Thanks for your reply, which is indeed useful as clearly Adobe have made this task easier and less obscure in CS4 by adding simple interface functionality, however I'm stuck with using CS3 for the moment.  Its not majorly a problem as the video material in question can be exported uncompressed then setup with cue points using the Flash encoder as an alternative (i.e. or even After FX CS3 also) which both provide the same features as Premiere CS4 seemingly. It is just that it would be much easier to be able to drop in simple markers whilst working with Premiere CS3, as this is what we are going to be using primarily, I just wondered if anyone knew how to invoke this in CS3 - its possible you can't, the documentation is vague at best!
    However I really appreciate your response and help, thanks 

  • Can't print to my HP D2460 over the network anymore, after upgrade to SL.

    Hi,
    I upgraded to Snow Leopard today. Now I can't print to my HP D2460 Deskjet printer anymore. The printer is shared from my Windows XP system via SMB. When I try to print I see the following message in the print queue on the Windows XP system: "Remote Downlevel Document - Error printing".
    I have updated the print drivers at both ends and still can't get it to work.
    If I connect the printer to a USB port on my MacBook Pro, it prints fine. It's only the network/SMB printing that seems to be broken.
    Has anyone else had this problem? How can I fix it?
    Cheers.
    Gibbo

    Try downloading the driver here.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4159&lc=en&cc=us&dlc=en&s w_lang=&product=391189

  • Can't skip more than 2 data labels in chart

    Hi,
    I'm working on a report which contains charts (stacked area chart). The data being reported on is samples taken every 5 minutes for a month so there are many elements. CR is writing the X-axis data labels bunched together so they're unreadable. I've found the option Skip Group Labels in the Group (X) Axis Settings dialog. I think I want to skip a lot of entries, say 200 to 300, but whenever I try this I get "Invalid entry: You have to enter a value between 0 and 2".
    Can anybody offer any advice?
    Crystal Reports 2008 SP3.
    Thanks in advance,
    leonstr

    Hi, if you have 1 record for every 5 minutes for a month, then it won't be possible to show in chart....
    Chart is used to show the summary information, but your data is at very low detail level.
    Is it possible to divide them into several charts, i.e., one week data each chart, you can create a group based on the date granularity.
    Or you can show all data in a crosstable, put the row as your date time.
    Thx, Hao

  • Editing date in Organizer - but how can i 'hard' write that new date to the actual files?

    Hi, i have a number of files which were created by digitizing about 40 anolog tapes. These tapes have been 'split' into clips(largish) using AV cutty software [it worked v well] and therefore have about 25 avi files per tape.
    I have now imported all of these from folders) into Organizer to tag etc before creating projects in Premiere.
    However, I can amend the dates in Organizer (some of the clips have timestamp on the screen) BUT i want this to be hard-coded back to the original files - is there any way to do this. Otherwise will i have to edit the dates of the clips in Windows Explorer, using something like AttributeMagic 
    Thanks in advance - and hope this helps others at some point too.
    wj
    PS I fully understand that Orginzer is purely referential, but is there NO way to allow the data (eg tags/dates to be writtrn back to the source files?)
    I wonder if I should look at other video software tools?

    PC drives geerally are formatted MBR (master boot record) on the drive and NTFS partitions.
    Mac can read NTFS but not write it unless you buy additional software.
    Do you want to keep that drive's files for read access,  or is your PC-world done?

  • How can i print from my iphone 5s using the 6500a

    i have a officejet 6500a and a iphone 5s- how can i print from the iphone and still be able to printfrom usb/ pc
    do i have to by a adaptor- add software or both- will this printer do both- thanks

    Hi,
    It's not an Airprint printer as shown:
        http://support.apple.com/kb/ht4356
    Therefor please check my other reply to connect it to your home network and use the follwing app to print.
            http://itunes.apple.com/au/app/hp-eprint/id299531647?mt=8
    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.

  • PIXMA MX432. I can't print now. I only get the "please wait for a while.

    I installed a new ink cartridge in my PIXMA MX432. I can make copies just fine, but I can't print. I only get the "please wait for a while" message.

    Hello TomClark.
    For testing purposes, please turn the printer off and back on.  Then restart your computer.  Once this has been done, try printing again. 
    If the error persists, please contact our support group using the "Contact Us" link below for additional assistance.
    This didn't answer your question or issue? Find more help at Contact Us.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • I can't print a Adobe PDF file from the browser. Ignores print command.

    Nothing happens when trying to print PDF from browser. Print box doesn't pop up and does not go to Printer queue.

    None of the above solutions worked for me. I have Firefox 10.0.1 and Adobe Reader 9.5.0, and a pdf file would not print either from the Adobe print button or CTRL-P or the Firefox File, Print command. Firefox Print Preview just shows a blank screen. If I save the pdf file it prints OK from Adobe Reader.

Maybe you are looking for

  • Crystal Report speed problem on dot matrix printers

    We are attempting to print marketing documents (sales orders) to a dot matrix printer using Crystal Reports. All the add-ons for B1 do this using the crystal report viewer which causes crystal to send true type fonts to the printer, making it very sl

  • Posting date and billing date changes on release to accounting

    Hello, I wants to change invoive billing date (VBRK-FKDAT) automatically with current system date (SY-UDATE) when release to accounting invoice. Because always, our posting date (BKPF-BUDAT) on accounting document) must equal to current system date (

  • Can I set up Family sharing in Canada with out a credit card?

    Hi I am having a problem setting up family sharing. I do not have a computer, so I am trying to set up family sharing off my iPad Air 2. When I set up my Apple ID a few years ago i chose no payment option. I don't have a credit card and have no want

  • Firefox can't find the server at playfi.sh

    every time that I try to click on a link for Playfish free gifts for apps that I play through Facebook or through an email to a link being offered by Playfish, I get the following message: Server not found Firefox can't find the server at playfi.sh.

  • How to save query result in excel file

    Hi all, How to save query result in excel file from sql*plus tool. thank you