Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
When listener CommandClauses get populated
Message
De
08/05/2010 03:40:52
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
When listener CommandClauses get populated
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01463772
Message ID:
01463772
Vues:
134
Dear All

I tried to utilise report listener command clauses, but it seems that they remain unpopulated
local loReportListener,cFrx
cFrx='some.frx' 
loReportListener = createobject("MyListener")
report form (cFrx) object loReportListener to printer prompt noconsole
When printer prompt appear I select for instance range of pages 2-3

However at listener level I get values
? this.commandclauses.PrintRangeFrom   && 1  i/o 2
? this.commandclauses.PrintRangeTo   && -1 i/o 3
I found sample where these two properties are used in OnPreviewClose method
but here there is no preview, listener type is 0 and ouput is sent to printer directly Is there something else that needs to be called
at listener level to refresh these props ?

Any input is greatly appreciated.

Sergio
*****************
Srdjan Djordjevic
Limassol, Cyprus

Free Reporting Framework for VFP9 ;
www.Report-Sculptor.Com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform