Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When listener CommandClauses get populated
Message
From
08/05/2010 03:40:52
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
When listener CommandClauses get populated
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01463772
Message ID:
01463772
Views:
135
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
Next
Reply
Map
View

Click here to load this message in the networking platform