Data TimeZone in page footer

Hi All,
I have to display the Data TimeZone in my page footer. When I use this special field, it displays as Eastern Time Zone, Eastern Day Time....
But I want to display as (EDT,+1.00) format...How can this be achieved?
Please help me with this..
Thanks in advance
Naresh

By creating your own formula and hardcode the translation. Here's an example:
Global StringVar TimeZoneName;
Global NumberVar TimeZoneOffset;
Global StringVar Signature;
//First hardcode the short name for known timezones.
//Use the Select switch if you wish to define many timezones.
If (Split(DataTimeZone, "," ))[3] = "W. Europe Daylight Time"   Then
  TImeZoneName:="WEDT"
Else
  TimeZoneName:="Undefined Timezone";
//So how much time does one need to add or substract?
TimeZoneOffSet:=ToNumber(Split(DataTimeZone, "," )[2]) / 60;
//The negative sign in a number like -2.5 is automatically created
//but a positive sign (+) isn't. So we hardcode that one as well.
If TimeZoneOffSet >= 0 Then
  Signature:="+"
Else
  Signature:= "";
//So we have the new name of the timezone, merged with hours and it's sign.
"(" & TimeZoneName & ", " & Signature & ToText(TimeZoneOffset, 2, "#.##", ".") & ")";

Similar Messages

  • How to display the username and current date in OAF  page Footer region

    Hi,
    I need to display the username and Current-Date in footer region.If anybody knows the procedure then please share with me.
    Thanks
    Divya Agarwal

    Hi,
    Read this Thread:--
    You have to capture the UserName and Date in the Process Request Method of page Controller and invoke a method which will subsequently get and set the value in some attribute.
    String userName = pageContext.getUserName();
    How to populate Current Date and Time in OAF page through CO
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to display data in report page footer ?

    Hi friends, we have heading popup defined in PLUS. but I don't know hw I can place information in the footer part of the report page.

    Hello Sabine, Hello Vignesh,
    I have also started working in discoverer. The version is 9.0.4
    I cannot find the Menu File --> Page Settings option neither in Discoverer Administrator nor in Discoverer Plus. Will you pls tell hw I can get them.
    I have to implement Date of creation as well as page "m of n" functionality in the reports' footer.

  • How to print date/time in report page footer?

    Hi
    I have a report which users can print as PDF.
    However, I like to display current date/time in report footer.
    I can see the Page Footer in section but can't figure out how to print date/time there.
    Thanks for help.

    hi movilogo
    Please try this.
    Create hidden item P1_DATE
    Create On load process in page 1 and put this code
    begin
    :P1_DATE:=TO_CHAR(SYSDATE,'DD-MON-YYYY HH:MM:SS');
    end;
    Open your region in Page 1 put this code in Footer area
    *&P1_DATE.*
    Refresh your page.
    you will get the output like this.
    16-SEP-2009 11:09:17
    thanks
    Mark Wyatt

  • Why is my Page Footer not displaying correctly??

    I am trying to customize a quote report in Tigerpaw and I am having an issue with the page footer. My report is structured as follows:
    Cover Page
    Product List
    Grand Total
    Simple right? So the page footer has the page numbers, printed date, etc and I want it to print onto every page. That is working fine on every page except for the cover page which happens to be the Report Header. There is a blank white space where the page footer is supposed to be but nothing is displaying there page footer has gray background).  What gives? Am I trying to do something I cannot do?
    Edited by: ekalpakoff on Jan 6, 2012 11:03 PM
    Edited by: ekalpakoff on Jan 6, 2012 11:04 PM

    Hi, 
    If you right-click in the Page Footer margin and go to Section Expert, are there any conditional formatting formulas set?  Any options that have been changed from the default? 
    If you right-click one of the fields in the Page Footer and go to Format.  In the Common tab, does the Suppress option have a formula? 
    The Page Footer should be seen from the Cover Page unless it's been told to suppress somewhere. 
    Good luck,
    Brian

  • Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount 28

    Post Author: tadj188#
    CA Forum: Formula
    Needed: Sum of LineCount Including Groups and Detail Data On Each Page Used To Generate New Page If TotalPageLineCount > 28
    Background:
    1) Report SQL is created with unions to have detail lines continue on a page, until it reaches page footer or report footer, rather than using  subreports.    A subreport report is now essentially a group1a, group1b, etc. (containing column headers and other data within the the report    with their respective detail lines).  I had multiple subreports and each subreport became one union.
    Created and tested, already:
    1) I have calculated @TotalLineForEachOfTheSameGroup, now I need to sum of the individual same group totals to get the total line count on a page.
    Issue:
    1) I need this to create break on a certain line before, it dribbles in to a pre-printed area.
    Other Ideas Appreciated:
    1) Groups/detail lines break inconveniently(dribble) into the pre-printed area, looking for alternatives for above situation.
    Thank you.
    Tadj

    export all image of each page try like this
    var myDoc = app.activeDocument;
    var myFolder = myDoc.filePath;
    var myImage = myDoc.allGraphics;
    for (var i=0; myImage.length>i; i++){
        app.select(myImage[i]);
        var MyImageNmae  = myImage[i].itemLink.name;
        app.jpegExportPreferences.jpegQuality = JPEGOptionsQuality.high;
        app.jpegExportPreferences.exportResolution = 300;
           app.selection[0].exportFile(ExportFormat.JPG, File(myFolder+"/"+MyImageNmae+".JPEG"), false);
        alert(myImage[i].itemLink.name)

  • Page header plus page footer too large for the page in crystal report 2008.

    Hi,
    when we selecting pieview and print after entering paramter it's showing error: page header plus page footer too large for the page. error in File.rpt page header or page footer loanger than page. and it's not showing print layout format if i connect another printer it's showing layout designe. and some times it's showing letter formate and if i give print it's taking default lamdscape but we setup defual setup for printer 10*12 inches in particular printer.please guide me how we can solve this issues.
    regds,
    samapth

    This is a really hard post to read. See if you can take a bit of time to reword it, but one thing I do understand is that you are getting this error:
    page header plus page footer too large for the page.
    Typically, you can trust that if the error is thrown, it is true. E.g.; this is not one of those errors that says one thing, and means another. I suspect that you have some field(s) in the header(s) that grow, depending on the data. If there is too much data or the data is too long ( a text for example), the error will be thrown. To resolve this, see if placing the field(s) into a group footer / header will help.
    Ludek

  • Totaling subreport data on each page

    I have 5 subreports linked to the main report all based on Employee ID.  They each pass their data via a shared variable.  The data is being passed to the main report without a problem.  When I try to total each page (one per employee), I am not getting the correct total when there is a blank value for one of the subreports.  If the value should be 0, the subreport is still holding the value from the previous employee, and adding that into the total - even though it is not displaying a total.
    Is there a way to clear the shared variable for each page (employee).  I have tried putting a reset in the page footer, but it doesn't seem to work.  I have also tried putting a reset variable in the header of the subreport - that also didn't work.
    My subreports are currently located in the details section of the main report.  My report total (on each page) is located in the details b section, along with the shared variables that bring the totals from the subs.
    How can I get the shared variables cleared after the totaling of each page?  I'm using Crystal 2008, and I'm stumped!

    Hi Raghavendra,
    I'm not sure I understand about creating a fake group?  I did try to insert a group in the subreport, and selected to have it repeat the group header on each page.  I then put a reset in the group header.  I also suppressed the group header, but it is still not clearing the shared variable in the main report. 
    Did I create the "fake group" correctly?
    The value returned by the sub is correct (I get 0.00 when applicable), but that shared variable in the main report continues to hold the previous value until replaced with a value other than 0.00.
    Thanks in advance for your help!
    Laurie

  • When I Conditional Supress the page footer. It occupy space in report

    I am designing Crystal report with multiple page footers.Initially I have suppressed all page footer. Each page footer is un suppressed against a specific Test Id (db Field). I have done this with formula for each page footer.
    The problem is when Page footer is suppress it occupy space in report.
    Provide solution plz.

    Can you recreate the entire footer as a formula field?  If so:
    1.  create the formula field using an if-then-else statement to poplulate the field:
    WhilePrintingRecords;
    IF PageNumber = 1
    THEN 'text' + text data + (chr(9) + totext(numeric/date data) + chr(13) + 'text data'  + etc...
    Chr(9) = tab
    Chr(13) = next line
    2.  Place the formula field in the page footer using as little space as possible. 
    3.  Enable the formula field's "Can Grow" property.
    4.  You could try setting the formula fields conditional suppression to PageNumber <> 1.  Not sure if this is necessary, but it can't hurt.
    This may do the trick for you.

  • Page Header will not underlay page footer

    Hi,
    Using CR12, when I mark my page header to underlay following sections, it will not underay the page footer.  In fact, if the sections overlap it tells me that the page header + the page footer are too big for the page.  Is the a bug or a feature?  What's the work around?
    Thanks,
    John

    Hi John,
    When you use the Underlay option, the section can underlay multiple sections with enough space to display the data. But a section cannot underlay its sister sections
    A Page Header section can underlay all sections up to, but not including, the Page Footer.
    I hope this helps you,
    Regards,
    Prashant

  • Main window data to be page protected in smartform

    Hello Experts,
    I want to make Main window data to be page protected.
    But page Protection check box is in Noneditable mode .
    Please let me know, how to make main window data to be page protected.
    Regards
    Mohit

    Hi,
        Try this way
        Under the Main Table node, you will find, Header, Main Area and Footer.
        Select Main Area, right click Create> Folder
        Drag the Row item inside the Folder
        Select the Folder node, for Folder node out put options, you can select Page Protection check box.
    Main Window
        Header
        Main Area
          Folder
            Row Items
        Footer
    Regards
    Bala Krishna

  • Page footer (Fusszeile) with Mac keynote (Deutsch)?

    I want to build a page footer (Fusszeile) with Mac keynote (Deutsch)

    I do not understand how you can say 'page footers would not make any sense."  ???   
    Page footers and headers are generated for printed paper pages, they take information from a data source to print information such as date, author, chapter headings, indexing. This has no place for a slide show on a screen, only the most important information should be present on a screen based presentation, headers and footers would be illegible by the viewer.
    all of my information is based on UGA,
    No idea what this means you will need to explain what this is if its relevant to your query.
    I want to ensure each slide of information explicitly states where information comes from.
    Then just put a text box on the slide as explained previously.

  • Crystal Reports 9: Page Header plus Page Footer is too large for the page.

    Hi,
    I have a report that has the following sections.
    GH1
    GH2a
    GH2b - has a sub report
    GH2c - has another sub report
    GH3
    GH4
    GH5
    details - suppressed
    GF5 - suppressed
    GF4 - suppressed
    GF3 - suppressed
    GF2 - suppressed
    GF1 - suppressed
    The report works fine wehn I run it using Crystal Designer.I am using CR version 9.2.2.693.
    When I try to load the report in my application, I get the following error.
    Crystal Report Windows Forms Viewer
    Page Header plus Page Footer is too large for the page.Error in File rptName.rpt:
    Page header or footer longer than a page.
    OK  
    There are no 'suppress blank sections' option set in the sections where the sub-Reports are.
    I also tried setting the No Default Printer option.
    The report gets loaded from the application only when I set 'New Page after' in the sections where there are sub-Reports.
    I do not want to do this; Is there a workaround?
    Thank you.

    Can someone tell me if this problem is being worked on as it looks as thogh none of the problems regarding the message u2018Page Header plus Page Footer is too large for the pageu2019 have been addressed.
    We have several reports that were written in Crystal 7 (I think) and worked in Crystal 9 and X1R2 but now give the above error. We have tried jigging the report in line with the various suggestions but at best can get them to run through successfully with one lot of data and then fail on the second or subsequent pages when you vary the data or report format even slightly. We can report on every bit of data separately or in various combinations but not in others. Changing the bottom page margin by 0.01 cm can cause it to fail on page 7 instead of page 530 (for example). We certainly do not have large page headers (just over 2cm) or page footers (about 0.3cm). We do have some subreports in the details section but have used 'fit to section', added 'keep together', removed u2018keep togetheru2019 from just about everything we can (in desperation) but to no avail. We cannot see a pattern to what is happening. It would be encouraging to know that someone is actually working on this fault.

  • Subreport "page footer"

    Hey guys, I've searched the Internet, now Im turning to you with my trouble:
    CR 8.5:
    - Subreport containing a table with data from dbs
    - if more than 1 page - need the table header at the beginning and a some text at the end of each page
    - table header is no problem - will just use a group header with a fake formula
    - footer with the text is a problem
    1) I cant use the generally used solution (for example http://www.tek-tips.com/viewthread.cfm?qid=1445982&page=2) suggesting a conditional section in main report page footer.
    Reason: I have certain rules for page edges - 1cm from bottom. If I use that way - it all gets messed up (few mm) even if this section is suppressed.
    2) Since I know there can be either 1 or 2 pages, I can try how many tablerows cause a new page and workaround it using this knowledge.
    Is there any other way to achieve this other than 2 previously mentioned solutions?
    Thanks a lot

    Hi Martin,
    I am glad to hear you could acheive the desired output.
    By the way, they have few more steps that needs to be done for the suggestion I provided. If you want to try this  technique someday, then you will also have to add a counter that will be used to perform a new page after, so the other sections doesn't overlap the "Page Footer". The additional steps are:
    6. Create formulas that count the number of sections printed.
        An example of the formula will be:
        WhilePrintingRecords;
        NumberVar Counter := Counter + 1;
        Depending on the size of the section you can add 2, 3 or a
        higher values, has the number represent how much space
        the section reserved on a page.
    7. Insert each formula in the appropriate sections,
    8. Create a Conditionnal New Page After on each section that
        will create go to the next page if we have reach the number
        limit of sections to print on the page. The formula will look
        like:
        WhilePrintingRecords;
        NumberVar Counter;
        If Counter >= 18 Then
             Counter := 0;
             True 
        Else
              False
        The formula above will create a new page if the counter is
        greater or equal to 18 and reset the counter to zero for the next page.
    The above workaround works well when you have a subreport that have multiple groups and sections.
    Another suggestion to create something that look like a page footer when the subreport design of the subreport is very simple, it's to use the counter to count the number of section printed and based on the counter, you can conditionnaly display and print at the bottom of the page a section that contains the "Page Footer" information.
    For example, if the subreport only contain one Details section, then you can create "Details - a" and "Details - b" sections
    "Details - a" will be to display your data and
    "Details - b" will be to display your "Page Footer"
    Then in the Detail section you insert a formula like:
    WhilePrintingRecords;
    NumberVar Counter := Counter + 1;
    And on the "Details - b" section you conditionnaly suppress it by using a formula like:
    WhilePrintingRecords;
    NumberVar Counter;
    BooleanVar Flag;
    If Counter >= 18 Then
          Counter := 0;
          Flag := False 
    Else
           Flag := True;
    And finally create a connditional formula that prints at the section at the bottom of the page. This section option is available in the "Section Expert", when you select the "Details - b" section you will see the option "Print at Bottom of Page"
    The conditionnal formula will look like:
    WhilePrintingRecords;
    BooleanVar Flag;
    Not(Flag)
    The above two workarounds uses a counter to limit the number of sections to be printed on a page, then either perform a new page after or print a section at the bottom of the page.

  • Hide page footer page 2 onwards

    Hi
    We have a report developed for a customer which has an OLE object holding a PDF image in the report's page footer.
    The customer would now like this OLE's image only displayed on page 1 of the report to allow the detail section to show more data on subsequent pages.
    I have tried to hide/suppress the OLE object and/or the page footer but without success. I can get the image to not show on subsequent pages but the height of the page footer remain the same throughout the report.
    Effectively what I want to do is to make the height of the page footer section zero for pages 2 onwards.
    How may I achieve this?
    Yours in hope.
    Edited by: bobjohnbarker on Sep 2, 2010 6:27 PM

    The reason this is happening, it's because when generating a page, Crystal Reports will reserve the space for the Page Footer section first, then print in the rest of the space available the other sections information: Details, Group Header, Group Footer,... And when it arrives at the Page Footer section it will evaulate if it needs to be suppressed or not. So the space for the footer is already reserved and it only display or not the information that section contains.
    For simple report, one way around it, will be to not use the Page Footer section, and instead use a second details section and conditionnally suppress and print it at the end of a page.
    For example:
    Details a section will contains all the database fields you want to display on your report
    Details b section will contain what you want to print at the bottom of the page on page 1
    Then create a conditionnal suppression for Details b section to only print once. The formula will look like:
    WhilePrintingRecords;
    NumberVar x := x + 1;
    If x = 50 Then False Else  True
    And create a conditionnal print at the bottom of section for Details b section. The formula will look like:
    WhilePrintingRecords;
    NumberVar x;
    If x = 50 Then True Else False
    On Page 1, it will print the first 50 records, then print Details b section at the bottom of the page.
    On the next pages, it will not reserve any space for it since it is not a page footer.
    The number 50 used is only an example, and it will need to be adjusted for your report. It could be 20, 10,...
    Hope this help!
    Patrick

Maybe you are looking for

  • JFileChooser ignores home directory

    Hallo, I have a little problem with JFileChooser. I need a JFileChooser that only has access to certain drives, has disabled 'create new directory' and doesn't alow to choose the default home directory of a user. The first two things are no problem,

  • Still can't iChat

    Hello again. I just can't get iChat to work with video although text is fine. I'm using a BT Voyager 205 router and my parents (who I'm trying to chat with) have another type of BT Voyager router (I forget the number). We can both connect to appleu3t

  • N86 8mp having language problem

    I am using n86 8mp,I updated my  software but only English & Chinese language is coming,I needed ARABIC language ,so pls help me,

  • SELECT {data} FROM (SELECT...) query. Can anyone explain the logic to me? PLEASE!!!!

    I've seen an example of this but I don't understand the logic behind this concept. I would really appreciate if someone could help me out with this.

  • Program exits - IF_SWF_IFS_WORKITEM_EXIT

    Hi experts, i have implemented a class with IF_SWF_IFS_WORKITEM_EXIT interface with the method BEFORE_EXECUTION and STATE_CHANGED; in these methods, i do some authority check and i give errore message. In this way, the wi has the reserved status. In