Report Date formatting

We are using the Add Command feature to use queries to provide data to our reports.  The date parameters from the query are then set in Crystal to datatype DATE.  When setting up the parameter in the Designer, todayu2019s date appears in the default dialog box.  However, if we leave that date, it stays the same when the report is run.  In other words, if I build the parameter on Monday and leave Mondayu2019s date in the default box, when I run the report on Wednesday, the default date displayed will still be Mondayu2019s date.
How can I get the date parameter to default to the current date?  My user would like leave the parameter alone sometimes (in order to get the current date), and select different date values at other times.

hi Rosanne,
unfortunately there's no way to have this changed automatically.
there is a workaround though...
1) change the default date of the parameter to something like 1888,08,08
2) change your record selection to something like
{yourdatefield} = (if {?your parameter} = date(1888,8,8) then currentdate else {?your parameter})
3) now if the end user doesn't enter a new value for the parameter the report will use the current date.
cheers,
jamie

Similar Messages

  • XML Publisher to Excel Report : Date format problem

    Hi,
    I am trying to create an Excel report with XML Publisher. I have an issue with the Date Fomatting.
    In the XML template, I have set the "Date" column in date format. But the excel output report "Date" column returns as "General text" (string) and it is sorted as text, not as date.
    Can anyone please help me out?
    Thanks!!!

    Hi,
    Did this post solve your problem? I have the same issue that I need to solve.
    I have an xsl-fo template with dates in it.
    The dates are in english.
    My excel is setup to use danish.
    When I export to excel it knows the month jan, feb, mar, apr, ... which are the same in danish and english.
    But months where it differs like may (danish maj) the cell is a general text instead of date.
    Is there anyway you can set/transform the date in the xsl-fo template so it does not care about the language in excel?
    Thank you in advance.
    BR Kenneth

  • ABAP report date format

    Hello friends,
    In my report I have to display the details of the selection screen.
    I am having some problem with the date format
    HOwever when the user changes the settings in the user profile the data
    format on the report should display as what the user profile settings are.
    for EG -
    if the user has the settings as YYYY-MM-DD
    the output should be 2007-12-11.
    If the user changes the date format as MM/DD/YYYY
    the output should be 12/11/2007.
    Any suggestions.
    Ster
    REPORT  ZCP0A128  NO STANDARD PAGE HEADING
                      LINE-SIZE  80
                      LINE-COUNT 65(0)
                      MESSAGE-ID ZZ.
    TABLES : ZCAST.
    SELECT-OPTIONS: S_PSTTR  FOR ZCAST-ZEFDAT DEFAULT SY-DATUM.
    WRITE : S_PSTTR-LOW.

    Hi,
    Check this FM DATUMSAUFBEREITUNG
    I think you can also just use write statement to get the Date format as in User Profile.
    Regards,
    Satish

  • WAD report Date format!

    Hi All,
    My requirement is to have the date in the WAD report  in the format 01-AUG-2008.
    The data maintained in the cube is 01/08/2008.
    Plz help me out with the HTML code which i should write to achive this?
    Or is thr any other way to achive this?
    Thanks,
    Pallavi Pande.

    Hi,
    Is the requirement to change the date format for one date (text item) or to change it in the table item.
    1. Text Item
    Use a div tag for the text item and give it an id which can be used in the javascript function.
    On body load call a javascript function and change the format of the innertext of the div tag as if 1 then Jan, 2 then Feb etc..
    2. If used in Table item.
    Then you can the entire contents of the date by using the Table interface class by adding the approproate code in the Characteristics Cell/Attribute Cell method.
    Hope this answers.
    Thanks
    Sundar

  • Interactive Report - Date Format

    Hi,
    I created an interaticve report, in which one of the column is date picker data type. However, it's not showing the hour and minutes even though I chose the "DD-MON-YYYY HH:MIPM" format mask.
    Does any one know why this it? Thank you very much for the help!

    Hi Chris,
    I tried to replicate this, but could not. Now granted, I tried this using the new "modern" method of controlling the default application date format via the new application Globalization attribute "Application Date Format". I set the Application Date Format to fmMM/DD/fmYY and my IR on EMP worked just fine.
    If you can replicate this on apex.oracle.com (using Application Date Format), I'd be happy to take a look at it.
    Joel

  • MC.1 report date format to be changed.

    Hi,
    In MC.1 report the default formate of the date is MM.YYYY is this format cn be chaned to DD.MM.YYYY based on the posting date.
    I want to see the MC.1 report based on the posting dates.
    Kindly help me.

    Hi,
    MC.1 report is standard TCode used for the monthly report.
    For posting datechange, need to discuss with the developer for adding field date.
    Check for other tcodes available depending on posting date.
    Regards
    Smitha

  • Changing date format at reporting level

    Hello,
    Will u plz tell me how can i change the date format at reporting level?
    I want to display date in dd/mm/yyyy, but by default its showing mm/dd/yyyy.
    Delta is already loaded in the system, so i don't want to disturb regular data loading.
    Is there any way so that i can change the format of date.
    Plz help me out.
    Thanks,
    Regards,
    Steve

    Hi steve
    There r so many postings on the same topic
    go through these previous threads
    date format
    Date format
    u can find solution
    regards
    Ravi Kiran

  • ORA-01821: date format not recognized Error in PL/SQL report-4.0

    Hi,
    I am using Apex 4.0 and i have a Classic report(function returning query) which selects a date column.
    The query runs at the backend and gives the output.
    But when i run the report on the page, i get the error
    report error:
    ORA-20001: Error fetching column value: ORA-01821: date format not recognizedThe values for the date column are like this 14-MAR-13,01-FEB-13 etc... Everything seems to be right.
    But I have no idea why this error occurs.
    Thanks
    Divya

    Aren't these errors annoying! But there's a data / format mismatch for sure. What I need to see -- and what will tell you what is wrong -- is
    1) exactly what the data is and
    2) exactly what the format string is that is being used to convert it.
    The values for the date column are like this 14-MAR-13,01-FEB-13 etc... Question: Is this the source data or the target data ( what it's supposed to look like after being converted)?
    Let's start there:
    What is the source? Is it a DB column? Is it type date or VARCHAR2 or what?
    If VARCHAR2, then give us an example of the data that is failing.
    What is the format -- I assume there is one -- being used to convert the data?
    Are you doing a TO_CHAR or a TO_DATE?
    Give us lots of detail, please. Then it should be easy to solve.
    Regards,
    Howard

  • Date Format Issue IN BEX REPORT

    Hi Experts,
    we are working on BW 3.5.
    we have a ODS where data is uploaded through flat file and there are 5 to 7 date field all made of Z infoobjects.
    So now the user is putting the data for these Date fields as 20110901 = 1st sep2011. but in report its coming as 09/01/2011
    when i checked all the Z fields that are created for this date fields have reference character as Date
    only one field is character so it is coming correct as given by the user
    but rest all are appearing in different format . In ODS also the date is coming as 09/01/2011
    now the user want all the data to be in the same format as given by HIM.
    I cant even change the properties of these Z info object removing the reference info object 0Date and make them character string.
    so now please suggest how to upload the date given by the user as it is without changing the format and also how to change the format for the back data as its flat file so No data can be deleted.
    thankkkkkkkks

    hello
    Bex analyzer is an excel add-in. Date formats are based on your regional settings.
    If you want to have a different date format in the sap gui then you have to change your user profile in sap system.
    Flat file upload needs the date format in a database format (YYYYMMDD).
    You can transform the date in the transformation step with rules or with a routine( abap coding).
    Thank you
    Yiannis

  • Date format on report

    Hi Everyone!
    I have a date format that is in the footer of my report. The format is set with the following: fmDay Month DD RRRR HH:MI AM and this is what I want, but when it prints out I get the following: Monday September 24 2001 11:0 AM . I would think I should get Monday September 24 2001 11:00 AM . I need the other part of the minute to show up. Now, it does show up if I have Monday September 24 2001 11:15 AM. I really need for the whole date format to show up. If I change the format to mm/dd/rrrr HH:MI AM then I don't get the day which I really need to show up in the footer.
    Thanks in advance for your help.
    ~Vannette ([email protected])

    Please change your current date format [to]
    fmDay Month DD RRRR fmHH:MI AM
    Neeraj Vannette -
    To explicate, recall that FM is a toggle. Your first
    FM set the format to suppress all blanks and leading
    zeroes, so 11:01 became 11:1. The added FM sets back
    to normal mode, so everything after the first FM is
    zero/blank suppressed, after the second FM is not.
    -- allan plumb

  • Date format in obiee reports

    HI guys
    i got two obiee server running in our env . both are identical . on one server when ever we rite any report with date column in it it comes up with dd/mm/yyyy output on another server if we right any report all the date column comes with dd mon yyyy format .. i want both of them should show date like dd mon yyyy format .. i checked all the conf files are both are looking same still not able to figure out where should i change for this to work .
    please let me know if you need more info from my end.
    Regards,
    Dev

    HI Kishore
    Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
    1. nqsconfig date format
    its same for both the two installations
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    2. make sure that you didn't save date format in column properties from front-end
    Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
    3. Did you mention anything in connection pool settings to set date format.
    no we havan't mention anything in connection pool
    4. Make sure that you are connecting to same database, and date format set for date is same here and there
    yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
    " hw i can check this
    finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
    please let me know if you need more info
    Regards,
    Dev

  • Date format interfering with interactive report

    My APEX version is 3.1.1.00.09.
    I'm using a method described elsewhere to change the global date format of my application. I have application items for a start and end date. I have two application processes, one for On Load: Before Header, the other for On Submit: After Page Submission - Before Computations and Validations. They both do:
    DBMS_SESSION.SET_NLS(param => 'NLS_DATE_FORMAT', value => '''fmMM/DD/fmYY''')
    Okay, all is well with that, my dates seem to stay the way I want them to. Since our upgrade I'm going through each section of my application and updating as necessary, and I particularly want to use the interactive reports. They work fine when the page is loaded, but if I change any options on the interactive report and submit it, I get an "ORA-01843: not a valid month" error. If I refresh the page, everything works as it should.
    What can I do to get around this, or do I have something wrong with my method that is causing this to happen?
    Chris

    Hi Chris,
    I tried to replicate this, but could not. Now granted, I tried this using the new "modern" method of controlling the default application date format via the new application Globalization attribute "Application Date Format". I set the Application Date Format to fmMM/DD/fmYY and my IR on EMP worked just fine.
    If you can replicate this on apex.oracle.com (using Application Date Format), I'd be happy to take a look at it.
    Joel

  • Date format in Discovere Reports

    We have created a workbook with a parameter which is supposed to show up an LOV for a parameter in the MON-RR format. Now this LOV shows up
    correctly in the Discoverer Desktop edition as MON-RR format, but when we view
    the same in Discoverer Viewer it shows up as DD-MON-RRRR.
    Earlier we had got a partial resolution on this issue (TAR 3891425.996), wherein by changing the ICX
    profile value in Oracle Applications, we are able to set the date mask to MON-R
    R.
    But now the above profile applies to all the reports and all the dates show up as MON-RR, whereas we want to continue showing the date in DD-MON-RRRR forma
    t in some of the reports.
    How can this be achieved ?

    HI Kishore
    Thanks for your reply i checked all the things but with no success. do think there could be any other place where i should check .
    1. nqsconfig date format
    its same for both the two installations
    DATE_TIME_DISPLAY_FORMAT = "yyyy/mm/dd hh:mi:ss" ;
    DATE_DISPLAY_FORMAT = "yyyy/mm/dd" ;
    TIME_DISPLAY_FORMAT = "hh:mi:ss" ;
    2. make sure that you didn't save date format in column properties from front-end
    Just checked and we havan't saved anything in column properties .. even i created new report as well but still format was same ..
    3. Did you mention anything in connection pool settings to set date format.
    no we havan't mention anything in connection pool
    4. Make sure that you are connecting to same database, and date format set for date is same here and there
    yahh both the two installatiosn are connected to same database .. but not sure about "date format set for date is same here and there
    " hw i can check this
    finally, check this: http://108obiee.blogspot.com/2009/04/changing-date-format-mask-in-javascript.html
    no its not on one column .. its to all the date format columns on all the reports .. so i think its not case with me .
    please let me know if you need more info
    Regards,
    Dev

  • Date Format in Portal Report

    Hi,
    I have created a SQL Report with following select statement. Looks like portal has default format mask for date type as 'DD-MM-YY'.
    If I put DD-MM-YYYY or DD-MM-RRRR in Format Mask field in Column Formatting screen, the reports generates 04-10-0002 . It should
    be 04-10-2002.
    select process_id, last_update_date
    from obm
    where process_id like (:process_id)
    I tried to use the to_char function as following. But it errors ORA-06502:PL/SQL:numeric or value error. Even though it works fine in
    my sqlplus session.
    select process_id, to_char(last_update_date, 'DD-MM-YYYY')
    from obm
    where process_id like (:process_id)
    Does anyone have any idea?
    Thanks

    Hi,
    Which version of portal are you using? The error with to_char comes in 30984. This is a bug. The bug no is 2567445. A one-off has been issued. Please look in metalink for it. And for the date formatting in the column formatting section the formatting should work fine. Please check the data in your table.
    Thanks,
    Sharmila

  • Date format in the Web layout of Oracle 10g Reports

    Dear all,
    I want to change the date format in the oracle reports. I am using weblayout & paper layout. I have changed format mask using property inspector. It appears in paper layout. How can i get in the weblayout, please help me.
    With Regards,
    Srinivas

    Hi Srinivas,
    I think whatever applicable in Paper Layout should be applicable to Web Layout also.
    Regards,
    Raj

Maybe you are looking for

  • 2 Power adapters...one glows amber to charge the other stays green??

    Hello, I have 2 power adapters for my ibook, the one that came with it originally & one I bought as an extra. They are both 45W apple ones. I have had problems with my ibook powering up & after replacing the dc-in board to no avail I have been told i

  • Flash player crashes in OS X 10.6.2

    Hello, Flash Player (plugin) 10.0.42.34 crashes in Safari 4.0.4 under Mac OS X 10.6.2.  The previous version did the same thing which is why I updated it in the first place, I cannot seem to find any help here or at Apples support site.  Running in t

  • Jerky Video

    I am having the same problem.  Should I start my own post?   I am trying to make a 4 min video.  The video has some MTS files (when I look at properties of these, it says AVCHD 1920 x 1080) and JPG files that are 1000 on longest side.  72 dpi.  all o

  • My Mac has begun to play up in Mail

    I have an iMac running 10.9.4.  My mail system has started being difficult.  It receives email but is progressively getting worse at sending them.  My system states Cannot send message using server Sky the sender address XXXXXXXXXXXXXXXX was rejected

  • Set_thread_id Segmentation fault

    Hello, I want to use set_thread_it to do some multi-process work,but i always got a Segmentation fault when open a database after i use the set_thread_id function. the code is: static void thread_id(DB_ENV *, pid_t *, db_threadid_t *); int main(int a