Application-defined or object-defined error message

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a cmdbutton on a popup form.

When I click on it I would like it to minimize my form [frmAlerts] and open
a report. (The report is looking for data on the minimized form).

When I close the report I want to maximize frmAlerts.

Forms![frmAlerts].Minimize

I get an Application-defined or object-defined error message.

I know this is probablly very easy but I'm not getting it.

Any help is appreciated.
 
There is no Minimize Method for a Form Object AFAIK.

You probably want to use the DoCmd.Minimize while the Form still has the
Focus before opening the Report.
 
Back
Top