Page 2 of 2 FirstFirst 12
Results 16 to 27 of 27
  1. #16
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,879
    As an aside, with a combo you can add text to the format property of a combo so you do not need to have "Pick Desired Report" as a choice.
    It eliminates the need for some of your code. When the combo is null it will display "Pick Desired Report"



    In the format property of the combo put
    Code:
    @ ;"Pick Desired Report"
    You also should be using the afterupdate event, not the click event of the combo.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  2. #17
    moke123's Avatar
    moke123 is offline Me.Dirty=True
    Windows 11 Office 365
    Join Date
    Oct 2012
    Location
    Ma.
    Posts
    1,879
    Oops, deleted double post.
    If this helped, please click the star * at the bottom left and add to my reputation- Thanks

  3. #18
    pledbetter is offline Advanced Beginner
    Windows 11 Access 2019
    Join Date
    Jan 2010
    Location
    Martinsville, IN
    Posts
    93

    Solved the file upload problem

    500k max file size. Are you kidding me? I stripped out all data tables and queries and left the autoexec and two forms and I'm still over 2000k. This interface is very cryptic. I does not ever throw an error. It just acts like it's loading then if your file does not satisfy any one of it's quasi-unstated parameters, it will just stop and look at you without the decency of an error announcement, let alone telling you what the precise error is. It's only after I decided to click on a very small question mark did the file size limitation pop up. Well, let' see what I can do.

  4. #19
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Have you never heard of a zip file?
    Right click the file in Explorer and Send To/Compressed (Zipped) Folder.

    Also Compact the DB before even trying that.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  5. #20
    pledbetter is offline Advanced Beginner
    Windows 11 Access 2019
    Join Date
    Jan 2010
    Location
    Martinsville, IN
    Posts
    93

    Ran afoul of file size limit

    Max allowed is 500k. The smallest I can get it (as a Zip) is 1307k. What are my options? Anyone want to receive an FTP?

  6. #21
    pledbetter is offline Advanced Beginner
    Windows 11 Access 2019
    Join Date
    Jan 2010
    Location
    Martinsville, IN
    Posts
    93

  7. #22
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Thank you for the crosspost notification.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  8. #23
    pledbetter is offline Advanced Beginner
    Windows 11 Access 2019
    Join Date
    Jan 2010
    Location
    Martinsville, IN
    Posts
    93
    OK, so here is the solution. My autoexec was opening my main switchboard form as Read-Only. Totally missed it. Appreciate all the help here.

  9. #24
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    The smallest I can get it (as a Zip) is 1307k.
    Sometimes this is because you have embedded images in things like buttons, form backgrounds, report headers and the like. Those are stored in a system table and you'd never get the file size down small enough because of that. If that's your problem, it's usually best to link images and keep them in the same folder as the db, or a sub folder of it.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  10. #25
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    6,556
    Quote Originally Posted by pledbetter View Post
    Max allowed is 500k. The smallest I can get it (as a Zip) is 1307k. What are my options? Anyone want to receive an FTP?
    We only need enough to see the issue? So create a new DB and import just what is needed for that.
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

  11. #26
    pledbetter is offline Advanced Beginner
    Windows 11 Access 2019
    Join Date
    Jan 2010
    Location
    Martinsville, IN
    Posts
    93
    I cut it down to just what was needed. I removed everything except the autoexec macro, two forms, and my VBA modules. Then I compacted, then created a Zip file. Removing anything else would have been fatal to what I was trying to demonstrate. I could have removed more VBA code, but I really don't think that would have accounted for 1200k of file size.

  12. #27
    Micron is offline Very Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    13,423
    If you want feedback on why that may have been necessary, post a copy to a file share and post a link here.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

Page 2 of 2 FirstFirst 12
Please reply to this thread with any new information or opinions.

Similar Threads

  1. Running Access in Minimized mode
    By Forbes in forum Reports
    Replies: 4
    Last Post: 09-14-2018, 12:39 PM
  2. can't print while running Access minimized
    By Dennis9412 in forum Reports
    Replies: 5
    Last Post: 01-22-2018, 07:44 AM
  3. Replies: 3
    Last Post: 01-16-2013, 02:53 PM
  4. Window Access Minimized/Maximized Problem
    By PATRICK in forum Programming
    Replies: 2
    Last Post: 09-18-2012, 06:25 AM
  5. Replies: 1
    Last Post: 08-17-2011, 01:43 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