Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview window
Message
From
07/08/2001 11:09:47
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
 
To
07/08/2001 10:37:57
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00540663
Message ID:
00540717
Views:
22
>>Why not create a form for this?
>
>Good idea. But can I show a report on a form? I didn't know that. How would I do this? (This would be great !)

In addition to George's comments...
Notice, you don't have to make the form visible. Here's an excerpt form my output class.
oPreview = NEWOBJECT( IIF(This.Desktop, 'frmPrevDesktop', 'frmPreview'), ;
   'MSForms.vcx', '',This)
oPreview.IsPortrait = This.IsPortrait
oPreview.IsLandscape = This.IsLandscape
* Even if a Label, must run from here, 'cause LABEL FORM doesn't have an IN WINDOW option.
.SelectData()  && Just selects the alias.
REPORT FORM (This.FRXName) PREVIEW WINDOW (oPreview.Name) &CollateExpr.
oPreview.Release()
Charlie
Previous
Reply
Map
View

Click here to load this message in the networking platform