Results 1 to 5 of 5
  1. #1
    Allie12380 is offline Novice
    Windows XP Access 2016
    Join Date
    Dec 2024
    Posts
    12

    Table structure - combine or keep separate

    We have a database that has data loaded periodically. Daily incoming inventory is updated in it and monthly we import financial sales data from our POS system. For the monthly POS data, we run 8 reports in POS that are either CSV or Excel. We have leading zero's in this dataset that must be maintained. So the csv files are loaded and transformed in Excel. See attached for a view of the relationships and tables relevant to this question. There are numerous other relationships not shown which mainly connect the tables with "detail" in the name to other data. For these tables, there are individual queries set up that combine the header and detail table. The purpose of this is to associate the month end date with the imported row data. Next queries connect information from various tables to present a complete dataset. For example, tblR12A_Sales_Detail includes the product num (barcode) and product description but not vendor or product department which is in the tblR3A_Product_List_Detail. Further, we have queries that pull data to create basic financial data such as total tender (funds collected), total tax, total sales income (actual price item sold for) and cost goods sold. These financial queries are connected to PowerBI and we display data on SharePoint for our teams.



    In the New Year, we will be moving from Access for tables/queries to SQL Server for tables/queries. Access will remain the frontend for users to interact with the data. Access frontend and SQL backend. Hope is this will help with speed. The current Access is on share drive with multiple users. We cannot use the migration tool so it will be a lot of rebuilding. As a result, I have been considering ways to (1) streamline database (2) improve user functionality and (3) improve reporting and analytics. Trying to think through this all before start the rebuild of tables in SQL after the New Year.

    So my questions:
    - Is the header and detail table set up the best option? If so, any ideas to improve the existing?
    - Any ideas on a better way to structure the tables?
    - Any ideas on a better way to associate the import date and month end date with the detailed row data?

    GS Database doc file.doc

    Thanks

  2. #2
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,559
    Not even going to try and read that huge block of text.
    Generally it is easier combine, than split.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  3. #3
    RayMilhon is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2011
    Location
    Southern California
    Posts
    1,085
    I've found it's faster to put the front end on the client so everyone has their own front end and they all access the back end. If I'm reading your message correctly it sounds like you have both on the server and everyone is accessing the same front end. That'll slow it down big time regardless of the backend being in SQL Server or access. The downside is that if you make any changes to the front end you'll have to migrate it to each user's machine. I think that you can push it out to each user's machine when they login, but I don't have those rights on our network so i've never done it.

  4. #4
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,559
    Each user should have trheir own separate FE.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #5
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,772
    You are asking if some tables should be combined?

    I am confused by some aspects of relationships diagram.

    Why are there no links between entities, such as product and sales, etc?

    Why is data (such as Product_Classification) duplicated between tables?
    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: 21
    Last Post: 10-10-2023, 10:49 AM
  2. Replies: 7
    Last Post: 02-24-2015, 12:04 AM
  3. Replies: 7
    Last Post: 12-14-2014, 04:44 PM
  4. How to separate names into 2-separate fields
    By djclntn in forum Queries
    Replies: 4
    Last Post: 09-18-2014, 02:34 PM
  5. Replies: 5
    Last Post: 07-18-2014, 02:04 AM

Tags for this Thread

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