P
Pendragon
Access03/WinXP
I have a client with many nontechnical (no Access experience) personnel, so
I am having to customize some of my features so that a person nevers has to
get to the database window to open and/or print a query or query results.
I have a form whose subform is a datasheet of the query results. On the
parent form I've set up a button to save and open the results in an Excel
file. I would also like to have a button on the parent form that will print
the query results.
I've used ** DoCmd.OpenQuery strQryName, acPreview ** which is good insofar
as from this view, the user recognizes the preview screen and can print the
results. The issue is that this opens the query in the background, so when
the user closes the preview window, the display goes to the open query. I
would like instead to have the open query closed and the user brought back to
my form.
OR.....with my parent form open and the query results displayed in the
subform, how do I go about printing the query results directly from the form
with no intermediate steps?
Thanks for the assistance.
I have a client with many nontechnical (no Access experience) personnel, so
I am having to customize some of my features so that a person nevers has to
get to the database window to open and/or print a query or query results.
I have a form whose subform is a datasheet of the query results. On the
parent form I've set up a button to save and open the results in an Excel
file. I would also like to have a button on the parent form that will print
the query results.
I've used ** DoCmd.OpenQuery strQryName, acPreview ** which is good insofar
as from this view, the user recognizes the preview screen and can print the
results. The issue is that this opens the query in the background, so when
the user closes the preview window, the display goes to the open query. I
would like instead to have the open query closed and the user brought back to
my form.
OR.....with my parent form open and the query results displayed in the
subform, how do I go about printing the query results directly from the form
with no intermediate steps?
Thanks for the assistance.