Results 1 to 2 of 2
  1. #1
    12345678 is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Posts
    3

    Select the last price in a day

    Hi,



    I have a table of bond prices and the time at which the price was quoted. I want to select only the last price. How can I do this using a query?
    below are my variables where CUSIP_ID,BOND_SYS_ID and COMPAANY_SYMBOL are unique identifiers for a firm;TRD_EXCTN_DT and TRD_EXCTN_TM are the date of the transaction and the time of the quote respectively followed by a column of volume of trades and the last two columns are the prices. The databases has many firms and dates from 2002 till 2010. Any help in selecting the last price which is the 101.5 in this case is much appreciated

    CUSIP_ID BOND_SYM_ID COMPANY_SYMBOL TRD_EXCTN_DT TRD_EXCTN_TM ASCII_RPTD_VOL_TX RPTD_PR RPTD_LAST_PR
    00846UAB7 A.GB A 01-Jul-02 11:10:26 AM 500000 101.84 101.84
    00846UAB7 A.GB A 01-Jul-02 1:08:18 PM 2000 101.5 101.5

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows XP Access 2003
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,535
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Set Up Price Tables
    By Jo22 in forum Database Design
    Replies: 5
    Last Post: 02-12-2012, 12:34 PM
  2. Calculate Discounted Price
    By tia in forum Access
    Replies: 1
    Last Post: 11-20-2011, 12:37 AM
  3. Overall price paid
    By MFS in forum Reports
    Replies: 1
    Last Post: 07-02-2011, 07:19 PM
  4. Look up price
    By matt4003 in forum Queries
    Replies: 7
    Last Post: 12-28-2009, 02:19 PM
  5. Multiple Price Columns
    By kmwhitt in forum Access
    Replies: 0
    Last Post: 04-04-2009, 09:48 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums