Viewing records ordered by date

actually i have inserted the "date" in msaccess database table using "dd-mm-yy" format
now i want to view records of that table in ascending order of the date
so i wrote the query:
Select * from TRANSACTIONS order by aco_date ASC,aco_time ASC";
but the problem is if i write this it compares the day first and then the month and then the year since i have inserted the date in dd-mm-yy
but logically it should compare the year first then the month and then the day...hw can i do that?

With most databases I have used (I don't use MSAccess), the ordering by date works as you want as long as the field you are inserting the date into is a designated date/time field and not a String/VARCHAR field. If your aco_date field is a DATE field and this is still not working, you might look at the thread [Order by date with MS Access|http://forums.devshed.com/database-management-46/order-by-date-with-ms-access-71503.html] for additional ideas.

Similar Messages

  • Album view in order of date added. Is it possible?

    album view in order of date added. Is it possible?
    In v10 I got used to ordering my music library with the newest additions on top, date added with the album view if it didn't take up more space.
    Now it's just the songs and I really don't like this. Album view is interesting but usless in alphebetical order which seems to be the default.
    I was told by another person here to use a smart playlist but the method they suggested was not clear.
    Can someone please explain how to do this or if there is a better alternative for someone who liked the old song view>date added>with album art?
    -thanks

    Welcome to the Apple Discussions. By "nr" are you referring to the shipping invoice that comes with the book? If so the answer is no. To order a book the library containing the book needs to be used.
    If someone had a copy of the library that created the book initially they could order a book on their own Apple account without you knowing about it. *+BUT they would have to have a copy of the iPhoto LIbrary to do so.+*
    So unless you think someone had access to your computer which housed the library a second copy of the book could not have been ordered.
    OT

  • Different ways to get the last 5 records ordered by date

    I have a query no that returns the tickets ordered by moddt, modification date,
    I was thinking of adding a select on top, to get the last 5 records of that list the select already generates. An other way was to use that select to create a view,
    and get the 5 last records that way. I also though of a possibly impossible cursor with a sequence, but hmm well I consider that not a good solution.
    So I'm trying to find a way, using a select, the topmost select which is not completed yet, to get the last 5 records. Maybe I should just try the rownumber thing again or something likewise.
    Select * from(
    select * from(
    Select ticketid, appliecatiecd, categorieid, substr(titel,&,200)||' ...' "titel", klantproriteitid, interneprioriteitid,
    (select g.voornaam||' '||g.naam
    from gebruiker g
    Where g.gebruikerid = t.gebruikerid
    And t.applicatiecd = NVL(:P0_applicatiecd, :F101_applicatiecd))"aangemaakt door",
    (select s.statusdefoms "status"
    From status s
    Where s.statusid = t.statusid
    And t.applicatiecd = NVL(:P0_applicatiecd, :F101_applicatiecd)) "status",
    Versieid,
    Moddt,
    Row_number() over (order by ticketid desc) rn
    From ticket t
    Where applicatiecd = NVL(:P0_applicatiecd, :F101_applicatiecd) )
    Order by moddt)
    Where --

    Hi Floris,
    You can also use RANK: http://www.dba-oracle.com/oracle_news/oracle_faq/faq_beg_sql_top_n_rows.htm
    Regards Pete

  • Report for viewing Sales order no against delivery date & actual GI date

    Hi Experts,
    Is there any report for viewing Sales order no against delivery date & *actual GI date*
    Because in VL06F , i can only able to get planned GI.
    Please guide regarding the same where i can get 'ACTUAL GI DATE ' against above combination .
    Regards,
    Sujit S.

    dear Hrishi,
    i followed your suggestion, but couldn't get desired results,
    here i can get planned GI date, where i wanted to get Actual GI date for complted deliveries,
    thanks for your valuable reply.
    @ G. Lakshmipathi ;-
    i think i will need to develop z-report for fetching the data from the tables
    VBAK (to get sale order reference) and
    LIKP (to get delivery and actual GI date)
    thanks for your reply,
    Regards,
    Sujit

  • HT1399 I have an ipod shuffle 4, my playlist is in alphabetical order on my itunes, when I go to add it to my ipod it puts it into order of "date added", under "View" i can change it, but when I sync it, it immediately reverts back?!!

    I have an ipod shuffle 4, my playlist is in alphabetical order on my itunes, when I go to add it to my ipod it puts it into order of "date added", under "View" i can change it, but when I sync it, it immediately reverts back?!!

    Yeah - not really. Sorry - but you will need to get it fixed so you can back it up. You are going to want to Restore your new iPhone from that backup when you get it, so it will really be worth it.
    As soon as you get your new iPhone, set up automatic iCloud backups, or if you don't have Wifi, then it is really important to get into the habit of backing your device up weekly to iTunes.
    Best of luck!
    GB

  • How do I get the reminders, in list view, to display in date order?

    How do I get the reminders, in list view, to display in date order? I can't seem to get them to display in date order on either my ipad or iphone.
    Yes i know I can look at date view, but i don't like that view. I excepted the list view to display all reminders in date order.
    Thanks!

    You need to create a stringwriter, wrap it in a printwriter, then print to the printwriter, then convert the stringwriter to a string.
    Here's an example:
    StringWriter sw = new java.io.StringWriter();
    PrintWriter pw = new java.io.PrintWriter(sw);
    e.printStackTrace(pw);
    String strError = sw.toString();
    I hope this works. I didn't test the above code. I don't think I'm leaving anything out, but it's been a while since I've done it. Either way, it should get you on the right track to get what you need.
    Hope that helps.
    Michael

  • View is not retuning data when creating XML message through workflow

    Hi All,
    This is a very critical problem for me. I am trying to send an XML message (outbound) through XML gateway. This is done from a custom workflow. The message creation is done from the standard procedure ecx_document.sendDirect. The data for the XML file is taken from two views (whcih are created in a custom schema and have synonym in apps). One view for header and another one for line information (I am creating an XML for a purchase order).
    The problem is when the workflow try the first time to create a message, the views are not returning data. So message creation fails. Now, if we restart the workflow after some time, it will work and the message is created. What could be the reason for this sort of a behaviour ?
    I am using business events to trigger the workflow. The data in the table/view will be updated by standard POAPPRV workflow activities. The custom workflow is subscribed to a business event raised from POAPPRV workflow, at a certain point. So this will execute when this event is raised from POAPPRV wf. The subscription has a phase value of 99.
    Any help on this regard will be much appreciated, as this is a critical issue.
    Thanks in advance,
    Arun
    PS : One more thing : this is happening mostly in the production instance where the number of messages is very high (freqency).

    Hello,
    With the BAPI_EQUI_CREATE you can only create PM equipments not IS-U devices that why there is no IS Tab .
    You have to use the dialog transactions IQ01, IQ04 or the MM transaction, where you can create devices through a movement.
    There is objecttype DEVICE (SWO1) with the following methods:
    -> Device.CreateFromData (Create Equipment Master Record)
    -> Device.Create (Create Equipment Master Record)
    -> Device.CreateISU (Create IS-U: Modification for IS-U)
    Please check whether you can use method Device.CreateISU for your requirement.
    Regards
    Olivia

  • Sales Order Item Data & Sales Order Schedule Lines

    Hello,
    I have a Sales Orders cube which is pulling data from two DSOs (one for sales order item data and the other for sales order schedule data). The common fields between these two DSOs is the Sales Order number but in my cube I have dual entries for each Sales Order document (item and schedule info).
    Example of how the data looks now:
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10  
    1 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1 . . . . . . . . 01/01/2000
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15  
    2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2 . . . . . . . . 01/02/2000
    How do I merge the data on the Sales Order number in the cube so it looks like below?
    <b>Sales Order . . Item Cat. . . Article . . . Net Price . . . Delivery . . .  Act GI Date</b>
    1. . . . . . . . . ...TAN. . . . . ABC123. . . .10 . . . . . . . . . .1 . . . . . . . . 01/01/2000 
    2. . . . . . . . . ...TAN. . . . . CBA321. . . .15 . . . . . . . . . .2 . . . . . . . . 01/02/2000  
    Many thanks,
    Matt

    Hi Matt,
        Its no possible If you are maintaining data at Order Level.
    Try to introduce one more ODS/DSO in between ODS's and CUBE by keeping Sales Order only key field. Load data from both DSO's in required fields only. Then PUSH delta to CUBE. In this why you can maintain 1 record. Try to compress cube(with delete Zero Record Rows) to delete unnessasary records.
    Hope it Helps
    Srini

  • Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top?

    Is there a way of displaying  the various item in my Downloads folder as icons arranged in order of Date Created, such that the most recent items appear at the bottom, rather than the top? I know this can be done when they are displayed as a list, but I want icons!

    Hi geezer,
    when you open your 'Downloads' folder choose 'View'  in the Menu bar and choose:
    'as List'
    'Show View Options'
    In 'View options' window you tick:
    'Always open in list view'
    'Date Modified', or
    'Date created'
    Now inside the 'Downloads' folder click on 'Date Created' (or 'Date Modified')
    column to get items alined from oldest to newest date (or reverse)…

  • Searching attibutes in the record mode in Data Manager

    Hi,
    If i create a new attribute in taxonomy mode,i cannot view it in the corresponding search in the record mode in Data Manager.The particular attribute which i have added is not getting displayed in the attributes in the search pane.If i have to search for that attribute in the record mode what should i do.
    Thanks and Regards,
    Preethi

    hi Preethi,
    there are a few differencies between fields and attributres
    have a look at table:
    Tab. 1 Comparison Fields vs. Attributes
    from this document
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5d4211fa-0301-0010-9fb1-ef1fd91719b6
    for search options based on attributes have a look at the bottom
    of the table I mention
    hope this will clarify a little bit
    Regards,
    michal

  • How to do INIT for Sales order Itema Data (DS 2LIS_11_VAITM)

    Hi all
    I have a report on sales order item data, I have to reload it. DS 2LIS_11_VAITM
    Can any of you pls explain me the steps to do the INIT? Refill set up tables etc
    Many Thanks in advance
    Ishi

    Hi Hari
    Many Thanks for the explanation and steps. I deleted set up tables and executed to fill it.
    It says in R/3 Start of Processing, I ticked to continue and its still running.
    In the mean time I checked RSA3 and it says 1007 records selected. I am refreshing it and the no. of records are still the same.
    Can you tell me how long it takes to fill the table?
    And the R/3 system is still running (Start of Processing)
    Thanks again
    Ishi

  • Unable to view purchase orders in SNC for the supplier

    Hi folks,
    iam facing the problem of unable to view purchase orders in the supplier portal for my supplier.
    ECC 6.0, PI 7.0, SCM 5.0 are the systems being used.
    scenario is like :
    for plant 1000, purchase order is created on vendor 1100 and idoc sent to PI successfully
    also in PI in the integration builder i find messages saying successfully sent to SCM system
    SLG1 transaction in SCM says message received successfully, (in the log i can see the plant, supplier, order no and order details)
    when i try to login to supplier view with supplier login, iam unable to view the orders,
    please let me know if iam missing any thing in this regard.
    cheers.

    Hi Kiran
    Could you check queues
    smq1 and smq2 ????
    Does your xml posted successfully in SNC(SXI_MONITOR)... Can you open the payload document
    inbound message-payloads-maindocument
    Check thoroughly whether any error information ????
    Check whether commit of xml is proper, or else refresh PI cache
    For your internet user and the xml rfc user(user who is pushing the data into SNC), check whether any update errors are available in so01(inbox)
    It could be a temporary problem, deactivate activate your supplier service in SICF. Could be problem with binding issue
    Just to make sure data is sitting in SNC
    Check this table
    /1OM/ORDR7MP3100
    Give your po number in field order no
    If you find, then it is problem with binding...If you dont find, then the xml update process has issue
    Kindly let us know the results
    Best Regards
    Vinod
    Best Regards
    Vinod

  • Extracting Purchase Order condition data

    Hi All,
    I have requirement where as i need to pull the purchase order condition data, but i haven't found any datasources regarding that, can somebody guide me how to pull that data to BW.
    thanks
    Neel

    Hi Neel,
    Create view of EKKO ( Purchasing header ) and KONV  (Conditions (Transaction Data)) and link it on EKKO-KNUMV to KONV-KNUMV.
    Create Generic Extractor based on the View.
    Hope that helps.
    Regards
    Mr Kapadia
    Assigning points is the way to say thanks in SDN.

  • View "Purchase Order Text" in Material Master

    Hi,
    I need replicated text of  view "Purchase Order Text" in ECC to Material Master in SRM.
    Or When We create a shopping cart in the way in which the text replicated "Purchase Order Text" from the the Material Master(ECC).
    Regards
    Angie

    For Purchase Order text in Material Master:
      use this code for Purchase Order text,
    DATA:  l_lsize(3)  TYPE n VALUE '132'.
      DATA:   lwa_tline     TYPE tline,
                lwa_thead     TYPE thead,
                lwa_valid     TYPE ty_input(flat file data),
                lwa_temp      TYPE ty_input.
      DATA: lit_tline TYPE STANDARD TABLE OF tline.
      lwa_thead-tdobject   = 'MATERIAL'.
      lwa_thead-tdid       = 'BEST'.
      lwa_thead-tdspras    = 'E'.
      lwa_thead-tdlinesize = l_lsize.
      LOOP AT pu_it_valid INTO lwa_valid.
        lwa_temp = lwa_valid.
        AT NEW matnr.
          CLEAR: lwa_thead-tdname,
                 lwa_tline-tdformat.
          lwa_thead-tdname     = lwa_temp-matnr.
        ENDAT.
        IF lwa_tline-tdformat IS INITIAL.
          lwa_tline-tdformat = ' \ '.
        ELSE.
          lwa_tline-tdformat = '='.
        ENDIF.
        CLEAR lwa_tline-tdline.
        lwa_tline-tdline = lwa_valid-text_line.
        APPEND lwa_tline TO lit_tline.
        AT END OF matnr.
          CALL FUNCTION 'SAVE_TEXT'
            EXPORTING
              client          = sy-mandt
              header          = lwa_thead
              insert          = c_x
              savemode_direct = c_x
            TABLES
              lines           = lit_tline
            EXCEPTIONS
              id              = 1
              language        = 2
              name            = 3
              object          = 4
              OTHERS          = 5.
          IF sy-subrc = 0.
            REFRESH lit_tline.
          ENDIF.
        ENDAT.
        CLEAR: lwa_temp,
               lwa_valid.
      ENDLOOP.

  • Purchase order Delivery date based on PO doc no and PO item no

    hi all
    we have a  requirement to bring Purchase order delivery date in to our report .
    it is in EKET Table - field EINDT.
    Is it possible to get this PO Delivery date in to our data source 2lis_02_itm which has PO Doc no(EBELN) and PO item.no (EBELP).
    In EKET Table the primary key is based on 3 fields. PO Doc no(EBELN), PO Itm.no(EBLEP) and delivery schedule line counter (ETENR).
    In EKET Table the data is like
    PO.NO/PO itm no/ schline counter/delivery date
    1000/10/1/1-1-2011
    1000/10/2/5-1-2011
    1000/20/1/2-2-2011
    1000/20/2/2-2-2011
    1000/20/3/5-2-2011
    so on...
    IF i enhance my datasource and populate the delivery date based on EBELN and EBELP we get only 1 delivery date for all the different schedule lines which is wrong.
    I know there is a separate datasource for schedule line data for purchasing BUT IS IT POSSIBLE TO GET the delivery date based on the different schedules by using some ABAP CODE, SINCE in our datasource 2lis_02_itm we dont have ETENR( SCHEDULE LINE COUNTER FIELD).
    if we use the standard data source  (2lis_02_SCL )it is not fair to pull all that data since we only need 1 field from it.
    Please suggest
    Thanks & Regards.
    Krishna

    Hi Krishna,
    Even though you plan to write some ABAP code or do any processing for a combination of PO document no. and Item no. you will always get multiple records with different schedule line items and it is really impossible to take the delivery date without knowing schedule line item no.
    And even when you said PO delivery date, it is actually means delivery date of any of the schedule line only. If you want to write some ABAP logic then you will have to decide like whether you want to display the First line item date or the last line item date etc. But which is again not a good idea.
    I think you can go for schedule line extractor.
    Regards,
    Durgesh.

Maybe you are looking for

  • Multiple Logical Systems in Partner Profile for one instance

    Can we create multiple Logical Systems in Partner Profile (WE20) for one instance or one System?  If it is possible, can we create Logical System with respect to Plant/Country?

  • Additional excise pass on for Past depot sales

    Dear Gurus, We need to pass on the additional excise duty captured at depots using J1IGA to the sales which was made in the past. Normally, we pass on the excise using J1IJ for the corresponding Depot delivery. But in this scenario, the Delivery docu

  • Does the Macbook Pro still overheat and Freeze?

    Hi guys, In a few weeks I am purchasing my first macbook pro or apple product. I have across a few websites that mention the macbook pro overheat and cause the notebook to freeze due to this issue. Is this issue still happening? Thanks in advance. Pa

  • Convert NOT IN to NOT EXISTS if possible

    Hi, I have this query which is returning the correct results SELECT hdr.order_num                ,hdr.business_unit_id                ,dtl.item_class_id            FROM xxx.dd_ddhdr hdr                ,xxx.dd_dddtl dtl           WHERE hdr.order_num =

  • Why I don't have face time in my device?

    why I don't have face time in my device?