Results 1 to 6 of 6
  1. #1
    Marcia's Avatar
    Marcia is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Aug 2019
    Posts
    37

    How to organize data resulting in a report that tracks historical changes

    Hello all. Attached is a snippet of a big file I am working on. In my Access self learning, I have already progressed into the creation of a form. I couldn't get my head around on how to manipulate the data and come up with an individual report for each tax declaration (TaxDecNo). The end result should be like an index cataloguing all the historical data pertaining to each tax dec. A tax declaration issued to a declarant in 1974 went through seven revisions (change of ownership, assessed value, area, boundary owners...). In my earlier posts, I talked about 7 tables because there were 7 revisions for about 30,000 tax declarations. One end result that I have already quite finished in my practice is the list of tax decs owned by an owner. Any suggestion would be very much appreciated on how to create a report for each individual tax dec. Thank you.
    Attached Files Attached Files

  2. #2
    Join Date
    May 2018
    Location
    Living in Scotland UK
    Posts
    1,568
    Hi Marcia

    Are you asking how to get the Excel data into an Access database?

    You stated you had progressed to a Form?

    Can you attach your actual Access file?

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,953
    Does this workbook represent the structure of your database? Should not be 7 tables for 7 revisions, should be 1 table with a field for TaxDecNo. If you want the output shown on Result sheet, will have to use a UNION query.

    If you want a report to show a single TaxDecNo, then apply filter criteria to report. If you want a report showing all tax decs for a single property, then there needs to be an identifier that carries over to all tax decs. I know my property has a municipal tax record identifier that is independent of owner and year. I don't see that in your sample data.

    I don't think the municipality cares about sex of owner (well, shouldn't), at least I've never seen that on any of my tax records.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  4. #4
    Marcia's Avatar
    Marcia is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Aug 2019
    Posts
    37
    HTML Code:
    Does this workbook represent the structure of your database? Should not be 7 tables for 7 revisions, should be 1 table with a field for TaxDecNo. If you want the output shown on Result sheet, will have to use a UNION query.
    I merged all 3 tables and after reading your and Mike's Post, I did some quick adjustments.

    HTML Code:
    If you want a report to show a single TaxDecNo, then apply filter criteria to report.
    I will search the web on how to do this and the Union Query.RPTaxDec.zipClick image for larger version. 

Name:	TaxDecValueForm.PNG 
Views:	11 
Size:	7.2 KB 
ID:	39628Click image for larger version. 

Name:	TaxDecInfoTabForm.PNG 
Views:	11 
Size:	19.0 KB 
ID:	39629Click image for larger version. 

Name:	OwnersForm.PNG 
Views:	11 
Size:	6.3 KB 
ID:	39630
    HTML Code:
    If you want a report showing all tax decs for a single property, then there needs to be an identifier that carries over to all tax decs. I know my property has a municipal tax record identifier that is independent of owner and year. I don't see that in your sample data.
    Thank you for the suggestion of adding an identifier so I added a TaxDecID.

    HTML Code:
    I don't think the municipality cares about sex of owner (well, shouldn't)
    Gender and Development (GAD) and Rights-based planning is the byword today so sex is included in the database. it is interesting to note that 90.90 percent of all tax dec on record are owned by the male specie.

    What I also want to do is a report of all properties owned by an owner reflecting only the latest Tax Decs. Something like, a new Tax Dec in 1974, TaxDecID 1974-1001, TaxDecNo 1974-1001 was revised several times in later years, the report should show the latest revision of TaxDecID 1974-1001 which is TaxDecNo 03-0013-00458.
    Last edited by Marcia; 09-01-2019 at 03:32 AM.

  5. #5
    Marcia's Avatar
    Marcia is offline Advanced Beginner
    Windows 7 64bit Access 2013 64bit
    Join Date
    Aug 2019
    Posts
    37
    Hi Mike, please see post # 4, thank you.

  6. #6
    June7's Avatar
    June7 is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,953
    Regarding your 'latest revision' query, review http://allenbrowne.com/subquery-01.html#TopN
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 1
    Last Post: 10-29-2018, 01:13 PM
  2. Is there a better way to organize this data?
    By TerraEarth in forum Database Design
    Replies: 1
    Last Post: 03-20-2018, 09:57 AM
  3. Need help with a design that tracks history
    By XenoZephyr in forum Database Design
    Replies: 2
    Last Post: 03-11-2013, 06:42 AM
  4. Replies: 1
    Last Post: 04-12-2011, 06:45 PM
  5. Historical data
    By Accessgrasshopper in forum Access
    Replies: 0
    Last Post: 02-28-2011, 06:39 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