Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
User Dependent headings in a report
Message
From
01/11/2001 10:07:25
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
01/11/2001 09:54:56
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00576119
Message ID:
00576129
Views:
20
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform