Delphi guy needs HELP - Modal Forms

R

Richard Albrecht

Hi,

I'm creating an application that prints various reports and the customer
wants to have the preview window open and print them from their. No Problem
with that, however if the report prints successfully then the program has to
update a table based on the same query that the report used.

Problem is I can't figure in access the best way to do this. In Delphi I'd
create a form that was modal and that form would launch the report preview,
the user would still be able to get to the report as it is not under the
modal form that launched it.

In Access the problem is that the user can't change focus to the Report
Preview.

The whole idea is to give the user the choice as to whether the report
printed ok and then the program can go do the update, or cancel the update.

I hope this makes sense.

Rich
 
R

Richard Albrecht

I like your idea, but I can't seem to figure out how you open a report
preview in full screen.

Rich
 
A

Albert D. Kallal

I have my reports all go full screen (that is what users like anyway).

All I do is a docmd.Maximize in the reports on load event.

Since my small report forms don't have a min/max button, then THEY DO NOT
inherit the max command from the reports. However, you can put a
docmd.restore in the reports close event if you are NOT launching the report
from a form with the mim/max buttons turned off. (if you don't disable
min/max, or put a docmd.restore in the close event, then all your forms will
be maximized (and that I don't like!).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top