General information
Category:
Reports & Report designer
>>>>I am using VFP 3.0 for Windows.
>>>>
>>>>I would like to ensure that the print preview window is maximized each time a user runs a report. Could anyone tell me how to do this?
>>>>
>>>>I have done a search and the solutions listed are for VFP 5.0 or they mention setting the window size in Foxuser.dbf (which is flawed because the user can reset this).
>>>
>>>I think I once made foxuser.dbf read-only in a 2.6 app for this same reason... to have a window open in a set way no matter it's state when last closed. You can't still do that in 3.0 Evan?
>>
>>Okay, I could make that read-only, but then I have to ensure the proper value is set to make the report maximized. I had a look in Foxuser.dbf and it didn't make much sense.
>>
>>I am worried about making the file read-only since I am unsure about what exactly it is used for.
>
>
>I don't know if this works in VFP 3.0 but it works in VFP 5.0
>
>Define window w_rpt FROM 0,0 TO SROWS(), SCOLS()
>REPORT FORM FileName1 PREVIEW WINDOW W_RPT
>
Chuck,
Thanks, but that is 5.0 syntax.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only