Results 1 to 11 of 11
  1. #1
    ShaunG is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    237

    report forms all of a sudden minimalising when loading

    it seems to be after i open a report in design view when open in form view its minimalised, the overlapping windows is checked.



    it was working fine when i was working on the usb and then i saved the database over an original to update it and this issue has occurred.... any body else had this happen?

    ive tried compacting and repair which help a few times when working off the usb but since i have saved over main db issue does not go away.

  2. #2
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Be very wary of opening a Database from a USB Stick, I've seen corruption occur where the PC has "dropped" the USB connection for some reason in the middle of doing something.
    Always copy it to your local drive, do the work then copy it back.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  3. #3
    ShaunG is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    237
    i have worked out what my problem is but not sure how to fix it......

    so my shortcut to database properties are set to minimalize so ms access is not in the back ground. when i change back everything works.

    ive tried minimalising with vba when form loads and restoring the reports but comes up with memory space error..

    any ideas?

  4. #4
    ShaunG is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    237
    Quote Originally Posted by Minty View Post
    Be very wary of opening a Database from a USB Stick, I've seen corruption occur where the PC has "dropped" the USB connection for some reason in the middle of doing something.
    Always copy it to your local drive, do the work then copy it back.
    im only working on a the db with the usb and didnt think that would be an issue.... no worries will do from now on!!

  5. #5
    ShaunG is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    237
    managed to get it the report to fit full screen when shortcut minimalised on open using below code.

    Code:
    DoCmd.OpenReport "rptVariationstoJob", acViewPreview            
    DoCmd.Maximize
    DoCmd.RunCommand acCmdFitToWindow
    would be good for it to not be full screen, this is better then nothing but if there's a better way i'm open for suggestions.

  6. #6
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Does restore not bring it back to it's original size ?
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  7. #7
    ShaunG is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    237
    No It doesn’t Minty I get an access memory not sufficient message come when form loads.
    using Docmd.restore in form load events

  8. #8
    Minty is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,003
    Hmm interesting.

    When I get a moment i'll dig some code out i use to manage form sizes and positions.
    In the meantime have a dig around for some samples from Ridders, he has a sample database that hides and removes forms / splash screens etc.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  9. #9
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    5,975
    Quote Originally Posted by Minty View Post
    Hmm interesting.

    When I get a moment i'll dig some code out i use to manage form sizes and positions.
    In the meantime have a dig around for some samples from Ridders, he has a sample database that hides and removes forms / splash screens etc.
    I think Minty is referring to this http://www.mendipdatasystems.co.uk/c...ace/4594365418

    HTH
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  10. #10
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Also note that you should be aware of the dangers of using USB stick to transfer Access files from one box to another! I've seen beaucoup reports of file corruption happening when this is done...apparently caused by the computer reporting 'transfer complete,' when this is not 100% true, and the flash drive being yanked out quickly! Best to count ten, after the 'complete' message appears, before removing the drive, even on Friday afternoon at quitting time!

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

  11. #11
    ShaunG is offline Competent Performer
    Windows 7 64bit Access 2007
    Join Date
    Jan 2018
    Posts
    237
    thanks for that Minty, ill do that.

    ridders52 thanks ill have a look.

    Missinglinq thanks for the advice, fridays are always a quick escape. lol will try my best to stay away from usb work.

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

Similar Threads

  1. Slow .MDE file when loading forms
    By Cschmitt in forum Access
    Replies: 2
    Last Post: 07-22-2015, 09:14 AM
  2. Replies: 3
    Last Post: 07-11-2014, 08:13 AM
  3. Forms Not Loading
    By MFS in forum Access
    Replies: 3
    Last Post: 03-27-2014, 09:52 AM
  4. Report not loading data
    By jshurak in forum Reports
    Replies: 1
    Last Post: 02-23-2013, 12:07 AM
  5. Loading pictures from URL in a report
    By drborracho in forum Programming
    Replies: 5
    Last Post: 12-13-2005, 09:22 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