Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User Dependent headings in a report
Message
De
01/11/2001 10:07:25
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
01/11/2001 09:54:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00576119
Message ID:
00576129
Vues:
19
>I need to be able to use different headings in a report depending on who is using the system. For example if there are two stockrooms first line of report would indicate which stock room the report is for. My first thought is to put information in a table and then set some global properties (to minimize reading from the table). Is this a vaiable approch and if so how do I
>
>1. Set up global properties, i.e. properties available through out an application?
>
>2. How do I use these global properties in a report.
>
>
>Open to other suggestions.

Claude,
You could use regular variables there. A report sees all variables (even declared local), objects etc that the routine launching report can see.

In report add a field and set expression something like :
m.StockRoom

PS: I wouldn't use global but local variables.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform