Fromatting date within an expression

hi all!
I have written a report which uses an expression to combine a couple of fields and some text in one sentence. the issue that I have is that when I combine texts and fields I don't have the ability to format the date so it comes out in a format that doesn't
work for us in Australia.
Can someone tell me an easy way (I'm a beginner) to change the format of the date when it is within an expression?
This is the text i want "Raised by Allana Smith on 16 October 2013" and this is the expression I'm using.
="Raised by " & Fields!Raised_By.Value & " on " & Fields!Initiation_Date.Value
and it comes out like this "Raised by Allana Smith on 2/21/2013"
Thanks :)
Allana

Hi,
try to use this
="Raised by " & Fields!Raised_By.Value & " on " & CONVERT(Fields!Initiation_Date.Value, 113)
for more information on date formats please check this URL:
http://www.sql-server-helper.com/tips/date-formats.aspx
I hope this is helpful :-)
  Ronen Ariely
 [Personal Site]    [Blog]    [Facebook]

Similar Messages

  • Dataset Column Filter Within an Expression

    I have a shared dataset called "CommAccessEnrollments." Within the dataset there is a column called "On_Net_Off_Net" that will output a value of either "On Net" or "Off Net." Within the same report I have a row of
    just On Net results and another row with just Off Net results. I made 2 different datasets (from the same shared "CommAccessEnrollments" dataset) with filters on "On_Net_Off_Net" for On Net and Off Net results ("CommAccessEnrollmentsOnNet"
    and "CommAccessEnrollmentsOffNet"). Instead of having to create two different datasets to derive the on net/off net information, can I define that within the expression?
    Here is my existing expression for On Net: =Sum(Fields!M4.Value, "CommAccessEnrollmentOnNet") 
    Here is my existing expression for On Net: =Sum(Fields!M4.Value, "CommAccessEnrollmentOffNet") 
    Would something like =Sum((Fields!M4.Value, "CommAccessEnrollment") WHERE On_Net_Off_Net = On Net) work?
    EDIT:
    This expression also does not work:
    =Sum(IIF((Fields!ON_NET_OFF_NET.Value, "CommAccessInstallsAll") = "On Net", Sum(Fields!M4.Value, "CommAccessInstallsAll"), 0))

    Hi Pamela,
    According to your description, you want to sum M4 values of "On Net" and "Off Net". Right?
    In this scenario, since you have set the filter for the whole the dataset to filter the records where it is "On Net" or "Off Net". We can create a parameter to filter the records instead of creating two datasets. Specify "On Net" and "Off Net" as Available
    Values and set the column equals the parameter. Now you just sum the M4 value and the scope should be the whole dataset. If you want to combine the records of "On Net" and "Off Net", you can set row group on "On_Net_Off_Net" and add Total for each group instance.
    For your last expression, the reason why it's not working because we can't specify scope for a data field directly, so "(Fields!On_Net_Off_Net.Value,"CommAccessInstallsAll")" is invalid.
    Reference:
    Report Parameters (Report Builder and Report Designer)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou 

  • How to upload data within apex application? just like the utility does

    Hi,
    We have an application of apex, we need to input a lot of data from Excel type form to apex. We print the report/form in excel, and then we input them into the app application.
    sometimes it is very time consuming for the end users of the app inputting data within the app itself, with either single row form or tabular form.
    So, I often input data by myself by means of application express s*ql workshop, utilities/data workshop, copy/paste* , but the problem is that you should the know the underline table names for those input datas.
    So it is not good if I let my end users input data directly by means of data workshop.
    So, is it possible that I make a data workshop like stuff within my application, that my end users can upload data with it?
    Thanks,
    Peter
    Edited by: Yawei Zhang on Nov 4, 2010 8:10 AM

    Hi,
    This might help
    Import excel file through a APEX page and store the data into database
    Regards,
    Jari
    Edited by: jarola on Nov 4, 2010 2:18 AM
    See this also , if you use Apex Listener
    http://krisrice.blogspot.com/2010/02/another-apex-listener-ea-more-knobs-to.html
    Edited by: jarola on Nov 4, 2010 2:22 AM
    And I find this also
    http://jon-trostheim.blogspot.com/2010/01/drag-and-drop-data-from-excel-into-apex.html
    And Denes Kubicek have write about external tables. There is 3 samples
    http://apex.oracle.com/pls/otn/f?p=31517:88
    And if you search forum and bit Google, you find lot of solutions

  • How can I POST data within the same page if I have a A HREF -tag as input?

    How can I POST data within the same page if I have a <A HREF>-tag as input? I want the user to click on a line of text (from a database) and then some data should be posted.

    you can use like this or call javascript fuction and submit the form
    <form method=post action="/mypage">
    cnmsdesign.doc     
    </form>

  • How do I reorder data within a Contacts card?

    I want to reorder the data within individual Contacts cards, e.g., repositioning address A above address B. It ought to be as simple as highlighting a given line and pressing the keyboard's Up or Down arrows, but that doesn't work, and I can't find anything in Apple's documentation or support pages offering an alternative that does work. Nothing on the Web either, except for a third-party app being touted by a company I don't know. I'm running the latest Mavericks on an iMac.

    The justify data select the column by clicking the column header (the letter at the top of the column) then open the formatter (top right):
    then select the "Text" formatter and select the type of aligment you want:

  • How do I align data within a column?

    In the newly updated Numbers (Mac), I cannot find how to align data within a column.

    The justify data select the column by clicking the column header (the letter at the top of the column) then open the formatter (top right):
    then select the "Text" formatter and select the type of aligment you want:

  • How to capture the data within the given range of maximum and minimum values ? from csv files

    My requirement,
    1. Here, the user will provide the range like maximum and minimum values, based on this range, the VI should capture the data within the given range. ( from CSV file as attached )
    2. Then VI should calcluate the average value for captured data and export it to excel.
    This is my requirement can anyone help me on this.
    Many thanks in advance
    rc_cks
    Attachments:
    sample_short.csv ‏2439 KB

    Hi,
    Thanks for remnding me. I forgt to attach the VI, 
    Here I am attaching the VI, what I tried. 
    From attached CSV file, I have to find an average value for columns B,C,D,E,F,G,H,I and AJ, AK. ( data range will be defined  by user ), focused only on these columns
    Here, the scope is to calculate an average value for given data range by user as MAX and MIN data.  
    FYI:  I tried manually for two instance i.e column H & I.  As per H column one steady state values from  7500 to 10500 and similarly in I column 7875 to 10050. So, I gave these as a limit to capture and calculate the average value. But unfortunaltely, requirement has been modified as per below requirements.
    More Info on requirement: 
    --> The user will define the range of data by giving some MAXIMUM and MINIMUM values(for above mentioned columns induvidually), then VI should capture          that data range and it has to caculate the average value for that range of data. This is the task I have to complete. 
    --> I am stuck in creating a logic for data capturing for given range of MAX and MIN value from user, 
         Can anyone help me on this. 
    If my explanation is not clear, Please let me know.  
    Many thanks, help mw
    rc
    Attachments:
    VI_rc.vi ‏25 KB
    sample.zip ‏4166 KB

  • All the message dates in the message list changed in every mailbox to a recent date, I don't know why.. The dates within the messages' headlines themselves remained correct.  How do I re-establish the correct dates also in the mailboxes' message list?

    All the message dates in the message list changed in every mailbox to a recent date, I don't know why.. The dates within the messages' headlines themselves remained correct.  How do I re-establish the correct dates also in the mailboxes' message list?

    First thing is to forget all the complex configs and just try to schedule the report to run once now, no alerts, no notifications, no nothing.
    Does that work?
    Then you can build up the schedule, to see where the problem is coming from.
    Sincerely,
    Ted Ueda

  • RE: DataField, update underlying data via TOOL,Express

    John,
    does it work if you mix the "CopyfromClipboard" method with the "PlaceValueinDisplayedField" ?
    If this is not the correct solution to you problem, could you please specify "where" it does not work ?
    Thanks a lot indeed.
    Best regards
    /Stefano
    Stefano POGLIANI Fort&eacute; Software Consultant
    E-Mail : [email protected] Tel : +33.0)450201025
    Fax : +33.(0)450200257 Mobile : +33.(6)08431221
    Visit the Fort&eacute; Web Site : http://www.forte.com/
    Ducunt fata volentem, nolentem trahunt....
    -----Original Message-----
    From: John Hodgson [SMTP:[email protected]]
    Sent: Wednesday, July 02, 1997 8:39 PM
    To: [email protected]
    Subject: DataField, update underlying data via TOOL, Express
    In TOOL code we PasteText() into a DataField, but the underlying data
    object does not get updated until the user interacts with the GUI.
    That causes problems if we need to use the underlying data object's
    value immediately after the paste. How can we:
    force an update of the underlying data object and
    ensure that the update goes through before our method call returns,
    i.e., ensure that if the update is via Forte events, those events
    are handled before returning.
    The context is a calendar lookup button that pastes into an adjoining
    DataField.
    John Hodgson |Descartes Systems Group Inc.|[email protected]
    Systems Engineer|120 Randall Drive |http://www.descartes.com
    |Waterloo, Ontario |Tel.: 519-746-8110 x250
    |CANADA N2V 1C6 |Fax: 519-747-0082

    Well, I think I have answered my own question, but I will leave it here in case anyone else has the same problem. 
    So, as far as I have been able to track down, it all went wrong when I was running through the connection wizard. 
    Under the section titled "Creating the Data Source" is describes how to find your database file and create the appropriate connection string. However, on my version of VS Express 2010 . It offered me a prompts , saying something like, "would you like to
    move this database file into the application directory and change the connection string" this sounded very sensible to me, so I said yes.
    All proceeded accordingly. And the database file now appeared in the solution explorer. 
    The app config file said that the connection string was 
    Data Source=|DataDirectory|\Database1.sdf"
    I presumed this would be interpreted correctly by the rest of the app, as it was generated by VS.
    But it didn't, what I cannot understand is how no error was generated. And data seemed to pull
    into the bound controls. 
    But I have been testing it for a while now. and it seems that if I manually override the config file with the actual directory where the file exists , then there is not a problem. Data is retained in the file 
    This is more of a VB.net question, but I couldn't find it in the drop down. I will try and move it there now
    Thanks guys for your patience. 
    p.s. RSingh , the code I posted above did come from the SaveItem_Click event
    handler

  • Organizing by dates within an event

    I'm not exactly sure how to organize photos by date within a certain event, when photos are coming from more than one camera. For example, I have imported pictures on the day my grandson was born from my camera, and I have also added some, within the same "event" sent to me by email, taken with other cameras. There are lots of pictures taken during the course of a few days, but the photos, by date, are not in order. First, I have some that are in the hospital, then there are the ones taken at home, then after that are some more in the hospital. The dates are correct on the cameras and I've set the photos to be arranged by date in iPhoto. Why won't they import in the order, by day, that they were taken, even though they're from different cameras?

    What I'm trying to accomplish is to import photos, no matter where they came from, into an event, and have them all in order by date. Is that possible with photos coming from different sources?
    That is how it works - I have many events with photos from different camera's
    look at the extended photo into (select two photos and go to the photos menu ==> show extended info) and verify that the date/time are the same - it sounds like they may have been set to different time zones time so are an hour or more off
    To see all teh photos from a single camera make a smart album with camera is "the camera" - if one camera's time is off you can select the photos in that smart album and use the photos menu ==> adjust time and date command to correct it
    LN

  • Function Module to Compare Date within date Range

    Hi All,
            Does anyone know Function Module to Compare Date within date Range...For example i need to find whether 08/02/2006 falls in between 07/15/2006 and 09/15/2006......

    data: datum type sy-datum value '20070802',
          datum_low type sy-datum  value '20070730',
          datum_high type sy-datum value '20070930'.
    If datum between datum_low and datum_high.
    Endif.
    Regards,
    Rich Heilman

  • Data Change Condition Expression

    I need to create a product specification that includes dependencies between order components based on a data change notification wait condition
    How do I define the XQuery expression in the "Data Change Condition Expression" field?
    Specifically, I have 4 order components in the product specification that are independent of each other but each order component can only start when a specific data element has a certain value. The data element is at the order level and is not available as an order line item property.
    I would appreciate if someone from Oracle can provide a more detailed explanation of the fields in the "Product Specification Editor Dependencies Subtab" ->"Wait Condition subtab"
    Relative Path
    Data Change Condition Expression
    Thanks,
    ~nagu.
    Edited by: nagu on Dec 2, 2011 5:50 PM

    Provide two pieces of information:
    1. Order Item Property
    2. Boolean XQuery expression returning fn:true() to fire the dependency.
    For example:
    Assume you need to ensure all Provisioining items (From) must have reached the "PRODUCT STARTED" milestone , before the Billing Component Items (To) can start.
    Note From Component is also known as "blocking" while the To Component is known as "Waiter"
    1. Data Change Notification property: milestone
    2. Data Change Condition Expression Xquery:
    declare variable $blockingIndexes as xs:integer* external; (: list of From component items - index :)
    let $expectedMilestoneCode := "PROVISION STARTED"
    (: extract milestones values from all provisioning function items matching the expected milestone value , only for the given From component :)
    let $milestoneValues := /GetOrder.Response/_root/ControlData/Functions/ProvisioningFunction/orderItem/orderItemRef[fn:index-of($blockingIndexes, xs:integer(@referencedIndex)) != 0]/milestone[text() eq $expectedMilestoneCode]
    (: Return true only if ALL the milestones in the From component (ProvisioningFunction/orderItem/orderItemRef) are PROVISION STARTED :)
    return fn:count($milestoneValues) eq fn:count($blockingIndexes)
    Carlos

  • Dynamic value binding for InputTextField - Expression within an expression

    Hi,
    I have this requirement where I have to use an EL expression's output as a bean's property in the value attribute of a InputTextField. E.g.
              <h:dataTable value="#{entity.formats}" var="field">
                   <h:column>
                        <h:outputLabel value="#{field.shortDesr}"/>
                   </h:column>
                   <h:column>
                        <h:inputText value="#{*entity."+#{field.shortDesr}+*"}"/>     
                   </h:column>     
              </h:dataTable>
    The JSF page will be a generic one so the fields within a form will be dynamic and will be formed at run-time. Since the exact bean property(entity in the code above) for a particular field is not known before, it needs to be dynamicaly built
    To give more clarity. In the following snippet, i know that entity is the bean to be used but which property(XXX) the text field has to be bound is not known and needs to be assigned at run-time.
    <h:inputText value="#{entity.*XXX*"/>     
    Is this possible? Are there any direct JSF solution or work arounds for it? Appreciate your inputs.
    Thanks
    Ranjith

A: Dynamic value binding for InputTextField - Expression within an expression

Hi BaluSC,
Your solution is totally acceptable. But I was also looking for something that can make possible direct binding to the bean properties without going through a Map.
In the meantime, I worked around the problem by not using the DataTable. Instead I loop the collection and add the Form elements programatically (code given below). With this I am able to achieve the desired effect of binding directly to the bean's property. But I am hitting another problem now, On submit the form Seam throws up 'No active conversational context" error while binding the #{sdmManager.grid} attribute. Now, I am trying to figure out how to come across it.
JSF
     <h:panelGrid columns="2" binding="#{sdmManager.grid}">
</h:panelGrid>
Bean code
     public HtmlPanelGrid getGrid(){
     grid = new HtmlPanelGrid();
     List<UIComponent> children = grid.getChildren();
     Collection<FieldFormatData> formats = dataManager.getFieldFormatData();
     for(FieldFormatData format:formats){
          HtmlOutputLabel outputLabel = new HtmlOutputLabel();
          outputLabel.setValue(format.getShortDesr());
          children.add(outputLabel);
          HtmlInputText inputText = new HtmlInputText();
          inputText.setSize(10);
          inputText.setMaxlength(10);
          System.out.println("Binding ................................... " + format.getEntityField());
          inputText.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{entity."+format.getEntityField()+"}"));
          children.add(inputText);
     return grid;

Hi BaluSC,
Your solution is totally acceptable. But I was also looking for something that can make possible direct binding to the bean properties without going through a Map.
In the meantime, I worked around the problem by not using the DataTable. Instead I loop the collection and add the Form elements programatically (code given below). With this I am able to achieve the desired effect of binding directly to the bean's property. But I am hitting another problem now, On submit the form Seam throws up 'No active conversational context" error while binding the #{sdmManager.grid} attribute. Now, I am trying to figure out how to come across it.
JSF
     <h:panelGrid columns="2" binding="#{sdmManager.grid}">
</h:panelGrid>
Bean code
     public HtmlPanelGrid getGrid(){
     grid = new HtmlPanelGrid();
     List<UIComponent> children = grid.getChildren();
     Collection<FieldFormatData> formats = dataManager.getFieldFormatData();
     for(FieldFormatData format:formats){
          HtmlOutputLabel outputLabel = new HtmlOutputLabel();
          outputLabel.setValue(format.getShortDesr());
          children.add(outputLabel);
          HtmlInputText inputText = new HtmlInputText();
          inputText.setSize(10);
          inputText.setMaxlength(10);
          System.out.println("Binding ................................... " + format.getEntityField());
          inputText.setValueBinding("value", FacesContext.getCurrentInstance().getApplication().createValueBinding("#{entity."+format.getEntityField()+"}"));
          children.add(inputText);
     return grid;

  • How to read multicolumn data in signal express?

    I want to read multicolumn data in LabVIEW Signal Express, how can I do this, when I import the multicolumn data file, it puts all the coulms in one colum ?
    Attachments:
    Untitled-11.jpg ‏63 KB

    Hello Munir,
    I have tested this issue and it works properly for me. I am able to load multicolumn data in signal express (see attachment).I look at your picture which you have posted. In fact the delimiter is empty in your task. Even this information is very important and could be a reason for this behaviour. Please look in your text file and find out which delimiter is using between several columns. For example I use a tabulator in my text file.(see attachment)
    I hope this helps.
    Please feel free to contact me if you have any questions about this issue.
    Best regards,
    AmirG
    Attachments:
    SE.zip ‏56 KB

  • Only return activities with a date within the past 90 days

    I'm doing an activity report that should only look at activity with a date within the past 90 days. I would like to avoid using a prompt; just to make things easier. Is there a way to do this say via a formual for example? Any thoughts?

    try this record selection formula
    {date field} in Over90Days
    regards,
    Raghavendra.G

  • Maybe you are looking for