Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Customizing Reports Within a Form
Message
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00929090
Message ID:
00929232
Views:
15
This message has been marked as the solution to the initial question of the thread.
You should be able to do that in previous versions. Try (tested in VFP8SP1)
PUBLIC oForm AS Form
lcReport = "t0.frx"   && Put your report name here
oForm = CREATEOBJECT("Form")
oForm.WindowState = 2
oForm.Show()
DEFINE WINDOW rd AT 0,0 SIZE 10,10 IN WINDOW (oForm.Name) NAME oRd
oRd.Width = oForm.Width - 6
oRd.Height = oForm.Height - oRd.Top - 3
Modify Report (lcReport) IN rd NOWAIT
ZOOM WINDOW ("Report Designer - ") + lcReport MIN
ZOOM WINDOW ("Report Designer - ") + lcReport MAX
oRd.Visible = .T.
>I want to give my Users the ability to re-arrange the report format that comes a finish app., and it must be shown inside a form..currently im using this small code to do a report customization within my App..
>
>
PUBLIC gcReports
>gcReports = GETFILE('FRX', 'Get Report File .FRX:', 'Customized', 1,   'Report Customization')
>DO CASE
>   CASE 'Untitled' $ gcReports
>      MODIFY REPORT (gcReports)
>   CASE EMPTY(gcReports)
>      RETURN
>   OTHERWISE
>      MODIFY REPORT (gcReports) SAVE
>ENDCASE
>
>Does the VFP9 Beta has a sample about this?
>Does anybody know how do this particularly with VFP9 BETA?
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform