>Doug,
>
>>Does anybody know how to make sure a report preview is maximized when it appears?
>
>Try:
> KEYBOARD '{Ctrl-F10}' && make preview window maximum
> REPORT FORM ( RptName ) PREVIEW
Alternatively, you can use the FOXUSER resource file to permanently make a report preview always open maximized. With SET RESOURCE ON, run the report for preview and maximize it. Close the report. Turn off the RESOURCE file (SET RESOURCE OFF). Open FOXUSER.DBF, and find the record that describes the positioning of the report in preview (The Type field will have a value "REPORTPOS", and the Name field (a memo field) will contain the name of the FRX file it applies to, eg UPPER(Name) = 'MYREPORT.FRX') Change the value of the Readonly field to .T. and close FOXUSER.DBF
From now on, that specific report will always open in Preview maximized. If you need this behavior on all systems, make sure that each user's FOXUSER.DBF has the same record in it. The setting is individually handled for each report; it has the advantage that it opens the Preview already maximized, rather than expanding to maximized as a result of the {Ctrl-F10}, but it has to be done for each report that you want to have this behavior. It does give you report-by-report control over maximization, or non-maximized layouts that appear positioned in the same place on the screen each time.