Results 1 to 4 of 4
  1. #1
    jax1000rr is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    26

    Need design suggestions for indexed-no duplicates field

    Hi, I am working on a new DB and running into an issue with an archive table I have. The DB is currently setup to not allow duplicates of the field "file_number" on table t_filetrac. The data is imported from an Excel file into a table named t_uploads first, then appended to t_filetrac. I import to t_uploads first so I can run some queries to edit certain data before the record is inserted into t_filetrac table.



    I have set up a table named t_archives which I want the end user to be able to select a date range and append loans from t_filetrac from a specific date range (t_filetrac will quickly build up to over 10K records so I want to archive some records to allow for faster DB operations).

    I need to have the append query from t_uploads to t_filetrac also check t_archives to ensure that the "file_number" is not present and if it is, do not append to the t_filetrac again.

    Suggestions?

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    You shouldn't need to 'archive' as you call it. 10k records is nothing and you will not see any noticeable difference in your data access times. Your better option is to limit the data you see by date rather than trying to move all data that doesn't fit a specific date range into a secondary table.

  3. #3
    jax1000rr is offline Novice
    Windows XP Access 2007
    Join Date
    Apr 2012
    Posts
    26
    Thanks, in your opinion, how many records can access hold before it will get bogged down?

  4. #4
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,442
    If you are not doing anything super complicated in your queries it can be quite large.

    I've currently got a database with 300,000+ records with 160ish fields that I have no problems with whatsoever.

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

Similar Threads

  1. Examiner Database Design Suggestions
    By seth1685 in forum Database Design
    Replies: 1
    Last Post: 01-05-2012, 10:11 AM
  2. Suggestions for Form Design
    By KrisDdb in forum Forms
    Replies: 2
    Last Post: 12-08-2011, 02:31 PM
  3. No duplicates on composite field.
    By boundfree in forum Access
    Replies: 15
    Last Post: 09-06-2011, 02:28 PM
  4. PK field, indexed-no duplicates shows twice in query
    By jhollingsh615 in forum Database Design
    Replies: 2
    Last Post: 05-26-2011, 05:24 PM
  5. Macro for Indexed Value
    By jversiz in forum Access
    Replies: 0
    Last Post: 10-19-2007, 01:16 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