This is a problem I have in several applications.
From button on a form, I open another form, like this:
DoCmd.OpenForm "Form2", , , , , acDialog
Form2 presents a list of records. The user selects a record then clicks an OK button. The logic on the OK button gets the selected record's ID and stores it in a hidden field on the first form.
The logic all works fine. The problem is that Form2 often opens at an extremely small size, way too small to be usable, both width and height very tiny. I can't resize it (even though Border Style property was set to "resizable"). The only thing to do is to close Form2 via a keyboard shortcut. If I then look at it in the design environment, it looks fine, so I re-save it and try again. This time it opens at the normal size, but the very next time it reverts to the tiny size.
Has anyone else seen this behavior? I'm guessing this has something to do with opening the form as a dialog (which I need to do).
Thanks for any help.
From button on a form, I open another form, like this:
DoCmd.OpenForm "Form2", , , , , acDialog
Form2 presents a list of records. The user selects a record then clicks an OK button. The logic on the OK button gets the selected record's ID and stores it in a hidden field on the first form.
The logic all works fine. The problem is that Form2 often opens at an extremely small size, way too small to be usable, both width and height very tiny. I can't resize it (even though Border Style property was set to "resizable"). The only thing to do is to close Form2 via a keyboard shortcut. If I then look at it in the design environment, it looks fine, so I re-save it and try again. This time it opens at the normal size, but the very next time it reverts to the tiny size.
Has anyone else seen this behavior? I'm guessing this has something to do with opening the form as a dialog (which I need to do).
Thanks for any help.