Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Htmllistener issue
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01311192
Message ID:
01311459
Views:
30
Here is the code I'm using for the preview:
* Get a reference to the preview container API
  Do (_ReportPreview) With oPreviewContainer
  
  * Set preview container API properties
  With oPreviewContainer
    .Caption = cCaption
    .TopForm = .T.
  EndWith  

  * Create the report listener object and assign the preview container object
  oReportListener = NewObject('ReportListener','_ReportListener')
  With oReportListener
    .DynamicLineHeight = .T.
    .ListenerType = 1
    .PreviewContainer = oPreviewContainer
    .QuietMode = .T.
  EndWith

  Report Form (cReportName) OBJECT oReportListener NOWAIT
Thanks again for taking a look at this.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform