Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>>Please save my sanity. There must be a way to control the properties of the preview window like you would a form, right? I like to prevent users from minimizing the preview screen, because as far as I can tell there is no way to bring it back. I would also like to change the dialog caption at the top of the report. Having 'patstat.frx' listed at the top of the preview does my users no good, and in fact can tend to confuse them. I would rather have the proper title of the report appear in this area. Any suggestions are greatly appreciated. Thanks for your time.
>>>Marcus.
>>
>>Marcus,
>>
>>As the situation is today, I'm afraid you are looking for things that are not there.
>>
>>Marc
>
>Heh heh...actually, there is :)
>
>Before issuing your REPORT FORM command, issue a DEFINE WINDOW statement and give the window the attributes you want. You can also treat this defined window as an Form object by referencing it by name. Then say:
>
>REPORT FORM MyReport PREVIEW WINDOW MyWindow
>
>where MyWindow is your defined window.
>
>Yes, this works - I'm doing it in a chunk of code right now. :)
David,
Are you running this code in VFP (3.0 or 5.0) or in FPW 2.x? I've tried this before, but I get 'Command contains unrecognized phrase/keyword' In help, under the REPORT command the WINDOW option is not listed. I guess I neglected to say I am using VFP 3.0 in my original message. Please let me know if you are getting it work with VFP, maybe I'm missing something.
Thanks,
Marcus.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement