Records Scrolling up

  • Thread starter Thread starter Mark A. Sam
  • Start date Start date
M

Mark A. Sam

Hello,

I havea form [Task Scheduler] which opens another form from a button.

DoCmd.OpenForm "ORDER ENTRY Header aux", , , "[OrdID] = " & [ordID], , ,
"LimitView"

This had never been a problem until I removed a line,

DoCmd.Maximize

from the OnLoad event the form [Order Entry Header Aux]

After I did that, when I open this form from [Task Scheduler], the records
from [Task Scheduler] scroll off of the screen.

I don't want [ORDER ENTRY Header aux] to maximize. Does anyone have an idea
why this is occuring and how to correct it?

Thanks and God Bless,

Mark A.Sam
 
I placed Docmd.Restore in the Load event of the opening form. This solved
it. I didn't want to use Restore, becuase I didn't want the [Task
Scheduler] for to Restore also. The Opening form is set to popup, so this
didn't happen.

God Bless,

Mark A. Sam
 
Back
Top