Results 1 to 6 of 6
  1. #1
    ser01 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Feb 2010
    Posts
    64

    Front End increases in size after decompiling.


    So today I decided to decompile/recompile my front end. That is manly because lately I have made a lot of changes/addition to my VBA and wanted to make sure I clean it all up. This is the first time I have done this and something unexpected has happened. Before I decompiled I compacted my FE. The file size after compacting was 2.8 Mb. After I decompiled/recompiled and compacted again the size is 3.2 Mb. I expected the file size to shrink, but instead it grew. I have done it several times and every time the same thing happens. Can anyone shed any light as to what may be causing this?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    After a /decompile then do a Compact and Repair *before* compiling again.

  3. #3
    ser01 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Feb 2010
    Posts
    64
    Quote Originally Posted by RuralGuy View Post
    After a /decompile then do a Compact and Repair *before* compiling again.
    Just did, same exact result. Not that this is a problem, just very peculiar and was wandering what it may mean.

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    Is the size of the db smaller *after* the /decompile but *before* the recompile? Interesting results.

  5. #5
    ser01 is offline Advanced Beginner
    Windows 7 Access 2007
    Join Date
    Feb 2010
    Posts
    64
    Quote Originally Posted by RuralGuy View Post
    Is the size of the db smaller *after* the /decompile but *before* the recompile? Interesting results.
    Here it is step by step:
    After I compact and repair the size is:
    2,818,048 bytes
    Imediately after I open the file with the /decompile the size is:
    2,883,584 bytes
    After compacting and repairing again the size is:
    2,740,224 bytes
    Went in the database tools and opened visual basic, then compiled and saved. Size is:
    4,014,080 bytes
    Compacted, repaired and closed. Size is:
    3,252,224 bytes

    By the way opening with the /decompile command as well as repairing is done while holding down the shift key to prevent the start up code that i have from running.

  6. #6
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    The file should be smaller after a /decompile and Compact and Repair. The inconsistancy you are seeing with a compiled db are not uncommon and probably an artifact of the algorithm used to C&R. Access reorganizes during a C&R and reindexes as well.

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

Similar Threads

  1. Multiply front end on same computer?
    By efk0107 in forum Access
    Replies: 5
    Last Post: 01-25-2011, 08:39 AM
  2. Front end link to back end
    By Melo in forum Security
    Replies: 4
    Last Post: 01-21-2011, 09:25 PM
  3. Front-End Ballooning
    By jgelpi16 in forum Access
    Replies: 4
    Last Post: 12-21-2010, 10:44 AM
  4. Front End vs. Shortcut
    By eww in forum Access
    Replies: 3
    Last Post: 11-12-2010, 03:02 PM
  5. report opens.. but not to front
    By kroenc17 in forum Access
    Replies: 5
    Last Post: 10-13-2010, 08:42 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