Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Anil Sharma
  Where is Anil Sharma?
 ludhiana
 India
 Anil Sharma
 To: Samir Ibrahim
  Where is Samir Ibrahim?
 Chekka
 Lebanon
 Samir Ibrahim
 Tags
Subject: RE: Report docked in screen or form
Thread ID: 364973 Message ID: 365275 # Views: 39 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Reports and Printers
Date: Sunday, December 23, 2012 5:54:25 PM         
   


> It seem this code did the trick except one thing
>
>
_screen.WindowType= 1
> Set Sysmenu off
> Set Default To Justpath(Sys(16))
> Release Windows "Standard"
> Set Status Bar Off
> Set Talk Off
> Open Database _SAMPLES +"\Northwind\northwind.dbc"
> oRepForm = CREATEOBJECT("Form")
> WITH oRepForm
>  .Caption = "rep_name"
>  .WindowState = 2  
>  .Show()
> ENDWITH
> REPORT FORM rep_customers PREVIEW Window (oRepForm.Name) Object Type 1
> oRepForm.Release()
> 
> 
> Set Sysmenu on
> Close Databases all
> Set Status Bar on

>
> In this code, no need for read event or clear event.

>
> Now.. How to preview this report and zoom state is "Fit to Page"?
>
> Samir Ibrahim

Hi Sam,
Nice to see you in VFP Forum :)

Quick Solution is once select the "wholepage" report will be open again in fit to page. and use that foxuser.dbf while using in .Net another option is you need to alter reportoutput.app source is in xsource folder of vfp.



Anil


Accounting Software

Web Development

Accounting, Inventory, Hotel Management, Restaurant Kot Billing, MLM, Excise Accounting and much much more!.
My Blog

ENTIRE THREAD

Report docked in screen or form Posted by Samir Ibrahim @ 12/20/2012 12:40:32 PM
RE: Report docked in screen or form Posted by Jun Tangunan @ 12/20/2012 11:28:45 PM
RE: Report docked in screen or form Posted by anand kulkarni @ 12/21/2012 7:40:49 AM
RE: Report docked in screen or form Posted by Samir Ibrahim @ 12/21/2012 5:15:35 PM
RE: Report docked in screen or form Posted by Koen Piller @ 12/21/2012 9:59:52 PM
RE: Report docked in screen or form Posted by Samir Ibrahim @ 12/22/2012 12:57:22 PM
RE: Report docked in screen or form Posted by Koen Piller @ 12/22/2012 6:33:16 PM
RE: Report docked in screen or form Posted by Samir Ibrahim @ 12/22/2012 7:30:32 PM
RE: Report docked in screen or form Posted by Koen Piller @ 12/22/2012 11:24:42 PM
RE: Report docked in screen or form Posted by Samir Ibrahim @ 12/22/2012 1:00:59 PM
RE: Report docked in screen or form Posted by Anil Sharma @ 12/23/2012 5:54:25 PM