Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More Control over the Reports Menu Options
Message
De
06/08/2005 17:06:13
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Titre:
More Control over the Reports Menu Options
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Visual FoxPro
Divers
Thread ID:
01039108
Message ID:
01039108
Vues:
64
Ken,

You guys have done a nice job with VFP 9 and the new stuff in the reportbuilder, reportoutput and reportpreview is great.

However, there is still one little thing that drives me nuts and makes no sence.

Since we now have total control over the dialogs in the Report Designer, why don't we have control over the menus that are displayed when the report designer is opened.

As an example:

Our customers are never allowed to use the "Quick Report", "Run Report", "Print Preview", "Load Data Environment", "Printer Environment", "Private Data Session" options from within the designer. Yes, I know I can disable some of them with "Protection" (not all) but as in the past, I will constantly have to explain why these bars exist if they can not (or should not) be used.

How about adding some new keywords to the MODIFY REPORT (LABEL) commands that would hide the first six options:

HIDEQRPT, HIDERUNRPT, HIDEPREVIEW, HIDEDATAENV, HIDEPDSESSION, HIDEPRINTENV. (Basically the first six options on the Report menu and the same options from the right click menus)

A simple thing to do with a set of If's in the report designer code. And, if by chance there was a reason we wanted to let our customers have access to the Data Environment, it could be done through the Properties dialog.

With these six simple keywords, protection and the wonderful hooks into the report designer, we could have total control over what our customers could and could not change. If you wanted, you could even take it a little further by adding "hide" keywords for all of the report menu options with the exception of the "Properties" option.

VFP9 SP1 would be a great place to add such a small change.

Jim McConnell
Pyramid Software
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform