Page 1 of 2 12 LastLast
Results 1 to 15 of 16
  1. #1
    BobbyDazzler is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2025
    Posts
    6

    New Company, access to old data


    I created a database for the company I work for 19 years ago. We are a small garage and there is a lot of historic data. The boss is retiring and I am taking on the company. I will continue using the same database but there needs to be a line drawn between the old company and the new company. Easy enough for me to start afresh but I'd like to be able to link to the old data to see vehicle details and historic invoices etc Anyone had experience of this that could give me some pointers? Thanks

  2. #2
    jojowhite's Avatar
    jojowhite is online now Competent Performer
    Windows 11 Access 2021
    Join Date
    Jan 2025
    Posts
    432
    you create a copy of your database.
    name the copy as old_YourdatabaseName.mdb (accdb?)

    now on the original db, delete all transaction records.
    on this database, create a linked table from the old database.

  3. #3
    Join Date
    Apr 2017
    Posts
    1,792
    It depends on your database structure, how the data there is linked to old boss currently, an what will change when you'll be a new boss.

    Maybe you need ta add something like Owners table, with ownership ID, owners name, and start and end dates of ownership. There you'll have a row for old boss, and a row for yourself. The end date of ownership for old boss, and the start date of your ownership must be same . And then you add field with old boss ownership ID in it to all tables where you need the ownership determined. And after the transition of ownership is set, all later entries in those tables must be registered with your ownership ID.

    And surely you need an inventory of any resources (material, immaterial, monetary, etc.). In any table, where info movements of those resources are registered, you add a negative amounts equal to inventory amount at ownership change date in a way it links them to old boss, and same positive amount in a way it links them to you. Now when you need to get the amount of any such resource at certain date after ownership transition, you calculate them summarizing all of movements of this resource from ownership transition date until the date you are queryng the result for.

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,927
    There are multiple ways - depends on your tables and whether you need to maintain a history of stock, client invoices etc

    one way may be to create a table to contain a single record - the date of ownership change. Then when required, include in your queries

  5. #5
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    I would probably copy the structure to a new DB.
    Then import what might be needed, customer and vehicle details?

    Then just open the old DB as and when if needed.

    How often do you think you would need to refer to the old DB except for static data like customer/vehicle etc data?
    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

  6. #6
    BobbyDazzler is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2025
    Posts
    6

    This was my thought

    Quote Originally Posted by Welshgasman View Post
    I would probably copy the structure to a new DB.
    Then import what might be needed, customer and vehicle details?

    Then just open the old DB as and when if needed.

    How often do you think you would need to refer to the old DB except for static data like customer/vehicle etc data?
    The main reference will be to see what work we had done previously, so info from tblInvoice and tblInvoiceDetail mainly but there may also be requirement for checking parts we've historically purchased for a particular vehicle - tblAcq and tblAcqdetail.

    Perhaps just linking the old tables to the new front end and having a couple of forms which will show history if called from a specific form? We currently have a button on the invoice/worksheet form which shows previous jobs done on a vehicle. I could duplicate that for the old company. The normal button would show historical work carried out by my new company and the duplicate button do he same for the old company?

    Thanks everyone

  7. #7
    Join Date
    Apr 2017
    Posts
    1,792
    Quote Originally Posted by Welshgasman View Post
    How often do you think you would need to refer to the old DB except for static data like customer/vehicle etc data?
    The possible situation:

    The client left car for some repairs before old boss did retire;
    Probably there was some work done on car before old boss did retire (but not finished);
    Old boss did retire;
    Repairs were finished.

    How will you calculate costs, materials used for repairs, etc., in case of 2 different databases?

  8. #8
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,421
    I read the OP more than once and I don't see why there has to be any sort of split at all. Vehicle details are not date/time sensitive, so there's that. Any repair history would be date/time sensitive (or should have been from the start) so your queries simply use an expression based on the date that you took over (e.g. >=#03/21/2025#). If a repair/service spans the transition date and you care about that, you get around that by using the start and end dates (which you also should have had from the beginning).
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  9. #9
    BobbyDazzler is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2025
    Posts
    6
    @ ArviLaanemets - Won't happen. We're a fast fit garage, everything done same day. There is rarely a requirement to keep a vehicle so not a problem.

  10. #10
    BobbyDazzler is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2025
    Posts
    6
    Quote Originally Posted by Micron View Post
    I read the OP more than once and I don't see why there has to be any sort of split at all. Vehicle details are not date/time sensitive, so there's that. Any repair history would be date/time sensitive (or should have been from the start) so your queries simply use an expression based on the date that you took over (e.g. >=#03/21/2025#). If a repair/service spans the transition date and you care about that, you get around that by using the start and end dates (which you also should have had from the beginning).
    Like this! But for accounting purposes a clean break is preferred. Appreciate your input.

  11. #11
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    a clear break can be: add the field company to the main table and in day-to-day operations you only load data from the current company. Queries faster than date/time criteria and is legally correct for accounting purposes.

  12. #12
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    Quote Originally Posted by BobbyDazzler View Post
    The main reference will be to see what work we had done previously, so info from tblInvoice and tblInvoiceDetail mainly but there may also be requirement for checking parts we've historically purchased for a particular vehicle - tblAcq and tblAcqdetail.

    Perhaps just linking the old tables to the new front end and having a couple of forms which will show history if called from a specific form? We currently have a button on the invoice/worksheet form which shows previous jobs done on a vehicle. I could duplicate that for the old company. The normal button would show historical work carried out by my new company and the duplicate button do he same for the old company?

    Thanks everyone
    I would go with what CJ_London suggests then.
    Create a new field and populate it with something to identify the old boss and yourself.
    Populate it all if you can identify the data with his name/id, and then have yours as default for new jobs etc. Not sure you wuld need it for customers etc, unless you wanted to identify new customers since you took over?

    Or just remember tha date you took control and compare the data to that?
    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

  13. #13
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,180
    Quote Originally Posted by Welshgasman View Post
    Not sure you wuld need it for customers etc, unless you wanted to identify new customers since you took over?
    New customers are easily identified as users that don't have any invoices/operations records before the new company took over.

  14. #14
    BobbyDazzler is offline Novice
    Windows 10 Access 2010 64bit
    Join Date
    Mar 2025
    Posts
    6
    Thank you all for your time and effort. All sorted.

  15. #15
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,550
    Quote Originally Posted by BobbyDazzler View Post
    Thank you all for your time and effort. All sorted.
    Well do tell us what you went for?
    It might help others in the future.
    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

Page 1 of 2 12 LastLast
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 6
    Last Post: 10-24-2018, 06:43 AM
  2. Replies: 3
    Last Post: 11-06-2016, 12:57 PM
  3. Replies: 3
    Last Post: 12-27-2013, 02:33 PM
  4. Moving old access DB data to a new access DB
    By Woodworker in forum Access
    Replies: 6
    Last Post: 11-10-2012, 08:14 AM
  5. Replies: 1
    Last Post: 10-31-2012, 01:27 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