Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Preview,cursors & printing
Message
De
27/03/1999 13:43:28
 
 
À
27/03/1999 06:36:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00199768
Message ID:
00202738
Vues:
14
Ahh Yes - the NOWAIT switch.

This is part of the problem because program execution continues after the REPORT FORM command and returns you back to READ EVENTS. If you have a timer running which updates other forms or toolbars, they all have to share the same datasession.

The other problem is the VFP print preview toolbar itself. It appears that NOWAIT returns the toolbar back to it's default state which doesn't recognize the activeform's private datasession. The only thing I can suggest to you is to trash the toolbar by putting the following code after REPORT FORM (lcReportName) PREVIEW NOWAIT:

RELEASE WINDOW ("Print Preview")

The only problem is that your users won't be able to print from a report preview.


-Jeff


>Nancy-
>
>I have not set any properties in the report DE (or added any cursors). (How do you make a report datasession private?) Here is the command issued from the ok button on the form which calls the report:
>
>IF llOKtoprint
> IF THIS.PARENT.optgpprint.VALUE = 1 && to printer
> REPORT FORM (lcReportName) TO PRINTER PROMPT NOCONSOLE
> ELSE
> REPORT FORM (lcReportName) PREVIEW NOWAIT && to preview
> ENDIF
>ENDIF
>
>The VFP version is 5.0a, and the build is 415. I have tried prefixing a field name in the report with the table name - then I get an "alias() not found" error.
>
>Thanks for all your attention to this.
>Carlie
- Jeff
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform