Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Customizing Reports Within a Form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Visual FoxPro Beta
Divers
Thread ID:
00929090
Message ID:
00929232
Vues:
14
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform