Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Display of reports in user defined windows
Message
De
25/06/1998 08:52:39
 
 
À
25/06/1998 08:03:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00111497
Message ID:
00111508
Vues:
17
>I've done a search for this information here and came pretty close to what I was looking for in a message from Jess Banaga to Robert Fernandes (in April) entitled 'Putting a report into a form' but here's my problem:
>
>This project was originally in Powerbuilder and I have been tasked with converting it to VFP.
>
>I have 4 forms on the screen at the same time, one main form that basically calls the other three forms and menu. One of the child forms holds table info in a grid, another of the child forms needs to show the info in a report (as in preview mode??) I do not have the source code for the PB app so I don't really know how this was done - it actually looks like it's been done in a grid as I can place the cursor in each 'field'. The report is done in a two-line fashion (alternating lines of info from the table) and has the ability to allow users to 'click' on the headings to re-sort the info by that heading. I can use this code to show the report in preview mode in my form:
>
>REPORT FORM myreport PREVIEW WINDOW myform
>
>however, my main form and the child forms then disappear until I close the preview. I'm really not sure how to go about duplicating what was done in PB but the client desires the same appearance.
>
>Any help would be greatly appreciated. Thanks ahead of time.

You can try REPORT FORM myreport PREVIEW WINDOW myform NOWAIT. It will allow app not to stop on preview window. I think, you should use cursor for reporting to prevent users from messing data in preview window and other forms. However, VFP preview functionality is limited enough, e.g. you can't place cursor on some 'field' etc. Maybe, your 'preview' will be actually one more form with appropriate cursor in grid?
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform