Well the title of this post is not exactly true, but only when certain circumstances are met. You see, my database is configured where the Access window itself is set to a pretty small size. I have 1 main navigational form that is roughly 1.5" tall by about 6" wide. I hide the navigation pane, maximize the navigation form, and then resize the Access window to the same dimensions mentioned before (all within the startup code). I learned that when resizing the Access window smaller than a certain size (as the size i am using), Access will "auto hide" the ribbon. This gives my database the appearance of a standalone application. Then all my other forms, reports and anything else that will even be opened are set to popup.
Now the problem I am having is that when the Access window is this small, I cannot open a report in preview mode. Report mode opens just fine, but as soon as I switch to preview, it closes. If i resize the Access window to something larger, it works just fine. Its only when the window is small. Also I should note that it is only this one report that is having this problem. Any other report that I try to open in preview mode, open just fine regardless of the Access window size. The obvious solutions that I have tried are listed below, but have not worked. I have tried using docmd.maxamize, move and movesize in the onOpen event, but did not work.
Any suggestions on how to fix this. I find it weird that this one report is singled out to having this problem. I matched the properties of this report to others that are working and they are all pretty much the same. The only thing I can think is that this report is very unique and even maybe a little untraditional in the design and layout, but it does open when the Access window is a larger size.
Now the problem I am having is that when the Access window is this small, I cannot open a report in preview mode. Report mode opens just fine, but as soon as I switch to preview, it closes. If i resize the Access window to something larger, it works just fine. Its only when the window is small. Also I should note that it is only this one report that is having this problem. Any other report that I try to open in preview mode, open just fine regardless of the Access window size. The obvious solutions that I have tried are listed below, but have not worked. I have tried using docmd.maxamize, move and movesize in the onOpen event, but did not work.
Any suggestions on how to fix this. I find it weird that this one report is singled out to having this problem. I matched the properties of this report to others that are working and they are all pretty much the same. The only thing I can think is that this report is very unique and even maybe a little untraditional in the design and layout, but it does open when the Access window is a larger size.