Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Select page to print
Message
De
21/05/2001 00:05:35
 
 
À
20/05/2001 14:55:38
Kam Lee
SUNY-Health Science Center
Brooklyn, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00509177
Message ID:
00509318
Vues:
14
Kam,

> SET SAFETY command controls whether the VFP will ask you if you want to overwrite it.
SAFETY was already set in the parent form, but didn;t work. I finally got it to work
(eliminated the confirm message) by setting safety off again at init of the form that calls
the report. But why it didn't work when I already set it in the parent form still bothers me.


>But if you want to just run
>it to obtain the last page.
>You can just do: REPORT FORM myreport NOCONSOLE.
I changed it to exactly you suggested, thank you.

>In the dynamic data environment, you may want to get the last page dynamically.
>as indicated below.....
> I usually do it in 2 report form statements:
> report form myreport NOCONSOLE
>M.nLastPage=_pageno
> report form myreport TO PRINT NOEJECT NOCONSOLE NOWAIT
> But there could be a better way, you can look around in the past posts.
> Kam.
Wouldn't this lose the purpose of getting the last page number ? My intention was
to get the last page number and stuff it in a spinner for user to select whether to
print the whole or certain pages of the doc. Regarding dynamic change in info during
time lag from generating last page to user confirm input, I'd suppose there still isn't
a perfect way to handle this in the multiuser environment, though I think most of the
methods used today are sufficient to server the purpose.
Jang, Wei
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform