B
BBC via AccessMonster.com
I have a form where the user can select a simple query via a listbox. When
it runs the form remains on top of (covers) the query results. Is there a
way to hid the form until the query is close (via close "X" button). I found
the following posted by "Wade" that works for reports (requires acDialog mode)
, anything similar for queries ??
Me.Form.Visible = False
DoCmd.OpenReport "MyReport", acViewPreview, , , acDialog
Me.Form.Visible = True
If not how would this best be done or is there a better way altogether.
I guess I could create a form but I have many different very simple info
queries and don't want a separate form for each one. I don't need the
sophistication of a report
Thanks
it runs the form remains on top of (covers) the query results. Is there a
way to hid the form until the query is close (via close "X" button). I found
the following posted by "Wade" that works for reports (requires acDialog mode)
, anything similar for queries ??
Me.Form.Visible = False
DoCmd.OpenReport "MyReport", acViewPreview, , , acDialog
Me.Form.Visible = True
If not how would this best be done or is there a better way altogether.
I guess I could create a form but I have many different very simple info
queries and don't want a separate form for each one. I don't need the
sophistication of a report
Thanks