Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactive report preview inside form
Message
From
27/04/2009 04:12:01
 
 
To
27/04/2009 04:04:07
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01396462
Message ID:
01396463
Views:
165
This message has been marked as the solution to the initial question of the thread.
>Hi,
>Help please,
>
>I have grid with Invoices (invoice.id) column.
>My client want to see the invoice on the form as printed not by grid/s details.
>
Hi Chaim -

You can use a Shape object to display a report preview:
*---------------------------------------- 
* The Simplest Preview Ever
* Devcon example, (c) Colin Nicholls
*---------------------------------------- 
_SCREEN.AddObject("Canvas","Shape")
_SCREEN.Canvas.Width = 500	
_SCREEN.Canvas.Height = 500

oRL = CREATEOBJECT("ReportListener")
oRL.ListenerType = 3
REPORT FORM (HOME()+'tools\filespec\90frx.frx') OBJECT m.oRL
oRL.OutputPage( 1, _SCREEN.Canvas, 2 )
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform