Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    judgedredd is offline Novice
    Windows 10 Access 2003
    Join Date
    Dec 2024
    Posts
    9
    Hi davegri,



    I am not proficient at working with Access so this is a steep learning curve for me and for my own sanity I am keeping things separate for the time being. The more proficient I become the easier it will be to wrap my head around merging different styles of tables into one database.

    Again, thanks to all your inputs everyone!

  2. #17
    June7's Avatar
    June7 is offline VIP
    Windows 11 Access 2021
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Whether you move the tables to one file or leave in multiple files, you still need to have a split database. That means all data is in backend file(s) and all code/forms/reports are in frontend file. The frontend will link to backend tables and work with the linked tables as if they were all in one file. You said there were only 3 or 4 databases so this is not so bad. If you do eventually merge to one database file, this means relinking tables.

    How large are these 3 or 4 database files? Access does have a 2GB size limit.
    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.

  3. #18
    madpiet is offline Expert
    Windows 10 Office 365
    Join Date
    Feb 2023
    Posts
    565
    Quote Originally Posted by judgedredd View Post
    Hi davegri,

    I am not proficient at working with Access so this is a steep learning curve for me and for my own sanity I am keeping things separate for the time being. The more proficient I become the easier it will be to wrap my head around merging different styles of tables into one database.

    Again, thanks to all your inputs everyone!
    Simple. Import all the data from one table into a new database. Add a single column to the table, something like (but this is T-SQL).

    ALTER TABLE [DataTable]
    ADD COLUMN [Source] VARCHAR(20);

    In Access, you'd just go into the table designer and add the "Source" column and specify the data type (likely short text) and a size.
    If you can post some fake data (like 2 records), I'm pretty sure I can bash out a quick example that you could use.



    Then you can update that column after each import.

    UPDATE DataTable
    SET Source = 'SourceDatabaseName'
    WHERE Source IS NULL;

    if you alternate between importing and updating, it should be super simple. Then all your data will be in ONE database. otherwise, you'd have to do something like create a view/select query where you specify the database path (using IN) and UNION ALL all that stuff together so you get one long table.

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

Similar Threads

  1. Replies: 7
    Last Post: 08-02-2023, 04:13 PM
  2. Replies: 2
    Last Post: 02-25-2022, 05:37 PM
  3. Replies: 5
    Last Post: 12-31-2021, 12:25 PM
  4. Replies: 11
    Last Post: 03-09-2018, 10:18 AM
  5. Program a 30-day trial into my Access Program?
    By genghiscomm in forum Programming
    Replies: 1
    Last Post: 05-26-2011, 02:14 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