sql - MS access latest date issue -
I have 2 excel files where I maintain the rates and rates of assets and the dates of issue. Another best file is the list of assets and those dates were sold when
Then there are the following columns in a superior file:
property ------ rate --- --- rate_such_on 1.x ------- 1500 - ----- 21-Apr-2012 2. X ------- 2000 ------ 28-Aug-2013 3. Jade ------- 2200 ------ 11-January-2014 4. X ------- 3000 ------ 1-January-2014Other The best file is (suppose):
Property ----- Sololdt1 X ------ 1-December -2012. Z ------ 12-March- 2014 Asset X's sold date is between 1 January 2014 and 28-August-2013, so it has a rate of 2000 Should take it. If for example the date sold on April 22, 2014, the rate should be taken as 1500. If sold date is 27-August 2013 then it should display blank record. So the originally sold date should be more than the latest release date and the rates will be as per the specific date.I can easily do this work in Excel but the problem is that now the Excel file has become so big that it runs very slowly, so I just want to join MS Access. Is this possible? (I am a newbie in MS Access, so please request me a little easier)
Thanks
Yes - you can match some simple questions in ways you want if your two tables are called rates and sales, then you can use two questions to require the results. The first rate of the first query, using the sales and rates table, is lower than that of sales_date, and another query is found on this back in the rate table to get the rate on that date.
A similar problem is described in
Comments
Post a Comment