Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I bring up 'Report Controls' tool-bar in my app?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00428151
Message ID:
00428591
Vues:
15
Hi Tom.

>I would like to open the 'Report Controls' toolbar. I use the command SHOW WINDOW 'Report Controls'. According to the help file, it is supposed to work 'if the window is defined'. But the window does not exist, and the command crashes.

You have to create a resource file that contains a reference to this toolbar, then use that as the resource file for the application. Here's how I did it:

- copied FOXUSER.DBF/FPT to MYRESO.DBF/FPT, then zapped this new table
- SET RESO TO MYRESO
- MODI REPO ANYTHING
- bring up the desired toolbars (Report Controls, Layout, Color Palette, etc.)
- close the Report Designer
- SET RESO TO

If you browse MYRESO, you'll see records for the toolbars. Include MYRESO.DBF in your app. Then, just before the MODI REPO command in your app, do a SET RESO TO MYRESO.

Doug
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform