Results 1 to 2 of 2
  1. #1
    Bajaz001 is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Mar 2011
    Posts
    17

    Identical tables for different user data.

    My situation is this. I've got access database which contains 4 tables, and some other forms/reports etc. It look like this.



    This is first part of database, and it works fine. Second part is this:
    I need same "subdatabase" (same tables, data type...) "Stavke_Usluge" etc. except "Korisnici" table. This is becouse "Korisnici" is unique for all other data.

    My question is how to copy - paste "Korisnici" as "Korisnici_new" without making C/P every time, best way is some kind of script after update.

    This is like scheme of my idea, but doesent work. (Users are unique, but data from other tables are different).



    thank you for your time, Bajaz



    EDIT:
    Clone would be nice to, or just same forme that updates both of tables at same time.
    Last edited by Bajaz001; 03-10-2011 at 01:26 AM.

  2. #2
    HiTechCoach's Avatar
    HiTechCoach is offline MS MVP - Access Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Jul 2010
    Location
    Oklahoma, USA
    Posts
    702
    You might do what you are asking in a spreadsheet where you duplicate a worksheet but that is really not how it is handled in a relational database.

    You want to avoid having tables with duplicate structures. They should all be in a single table with an additional field that identifies the group or category

    Of the three sub related tables, probably only the first one down will need the extra field to identify the group/category. The other two related tables can use the data from the first table.
    Last edited by HiTechCoach; 03-21-2011 at 11:32 AM.

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

Similar Threads

  1. Replies: 0
    Last Post: 02-26-2011, 06:54 AM
  2. Count number of identical posts
    By Patience in forum Access
    Replies: 1
    Last Post: 06-16-2010, 04:27 AM
  3. Replies: 3
    Last Post: 12-10-2009, 02:16 PM
  4. Difference between 2 identical tables.
    By leepan2008 in forum Access
    Replies: 1
    Last Post: 09-28-2009, 07:36 PM
  5. Validation on identical text question
    By edrahl in forum Database Design
    Replies: 1
    Last Post: 02-26-2008, 09:38 AM

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