Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SDI form/ print preview in window outside form?
Message
From
16/10/2012 18:15:56
Jill Derickson
Software Specialties
Saipan, CNMI
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
SDI form/ print preview in window outside form?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01555134
Message ID:
01555134
Views:
164
Hi,

I have an application with a single SDI form. The form is 320 x 971.

Now i am adding a button to generate a report, and want the print preview to be outside the form, to display a full screen for the user.

I used the following to generate the report:
     DEFINE WINDOW DBWindow AT 1,1 Size 40, 120 TITLE "Details" IN DESKTOP CLOSE FLOAT GROW
     REPORT form DropBoxRevenueAndGRDetails.FRX PREVIEW WINDOW DBWindow
And it kind of works when i run the screen directly in VFP.

But when i generate the exe and run it from there, "nothing happens" (the report is not displayed).

The report is generated fine, if the code is just:
     REPORT form DropBoxRevenueAndGRDetails.FRX PREVIEW
but it displays inside my small 320 x 971 window.

is there a way i can display the report in a large size?

Thanks for any input!

J
Next
Reply
Map
View

Click here to load this message in the networking platform