Results 1 to 4 of 4
  1. #1
    templeowls is offline Competent Performer
    Windows 10 Access 2016
    Join Date
    Feb 2019
    Posts
    305

    Thoughts on breaking up main table into several?

    I have a DB full of customer complaints. My backend is SQL and I use Access as a front end. Each complaint is a record in my tblComplaints table. This table probably has 50 to 60 fields for each record.



    I then have a form that looks at each complaint individually and allows the user to use 'next' and 'previous' to switch complaints.

    When changing records in the form, the 'loading' cursor pops up for a second or two which is kind of annoying. I think because there's a lot of fields for each record and the form isn't filtered down at all. It's control source is the main table.

    I am wondering if it would be advantageous to reconstruct my DB and split the main table into six or seven tables.

    Ultimately, all that data will still need to be fields in this form so I'm mainly wondering if I should expect significant speed differences.

    I know theoretically it should be organized better (I inherited this DB) but I want to ensure there will be some speed benefits too before embarking.

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,895
    There is no database platform called SQL. Do you mean SQLServer?

    What are the fields? Are there any repetitious field names?

    I doubt form performance would be impacted.

    If you want to provide db for analysis, follow instructions at bottom of my post.
    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. #3
    Gicu's Avatar
    Gicu is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    4,111
    The biggest improvement in speed to your form would be to only load one record at the time; I used to put record search subform at the top of the main form, that had a couple of combos for the search fields and a datasheet subform displaying the results (this was based on a local table that had just a few fields used for searching and identification and it was refreshed on database open and on request). And once to selected a record in the datasheet the main form would load it using something like "SELECT ...... FROM dboMyTable WHERE PK_ID = Forms!frmMyForm!sfrmSearch..... (reference to the selected record in datasheet). The results were loaded almost instantaneous and the main table had over 100 fields (it was a international student database with lots of information per record).

    Cheers,
    Vlad Cucinschi
    MS Access Developer
    http://forestbyte.com/

  4. #4
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,041
    50 or 60 fields aren't that much. If the form isn't filtered, all records are retrieved from the database when loading the form. So loading the next or previous record should be fast once the recordset is loaded into the form. The following could slow-down de process:
    * having lookup fields in the table
    * using domain functions or other complex calculated fields on the form
    * loading pictures or other object fields
    * using subforms
    * slow code in the on current event

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

Similar Threads

  1. Replies: 4
    Last Post: 03-08-2018, 03:27 PM
  2. Replies: 3
    Last Post: 02-23-2018, 05:52 PM
  3. Breaking down a table with too many fields
    By maultiper in forum Database Design
    Replies: 3
    Last Post: 01-07-2016, 01:41 PM
  4. Thoughts on Query Design for Table Taken off of Web
    By engineer225 in forum Queries
    Replies: 1
    Last Post: 02-27-2014, 07:40 PM
  5. Breaking Up table in FK and PK
    By drunkenneo in forum Programming
    Replies: 6
    Last Post: 12-07-2013, 12:59 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