>>Dear UT user's
>>
>>Thanks to Mr. Çetin Basöz for helping me in removing
>>unwanted header from report preview by using
>>following code:
>>
>>Report form myreport prev window (wontop()).
>>
>>But when i execute the above code, the report preview window
>>appears to be small and the report window does not have
>>maximise option.
>>
>>Kindly let me know as to how do i get/ maximise
>>this screen automatically.
>
>I usually have the preview button on some form, so the code goes like this:
(sorry, I thought I was in Fox so I tried to indent and actually went out of the editing window and hit send. here it is)
lnThisFormState=thisform.windowstate
thisform.windowstate=2
Report form myreport prev window (thisform.name)
thisform.windowstate=lnThisFormState
Sad enough, this won't work for labels, because Label Form command has no Window clause.