Skip to Content
0
Former Member
Jan 18, 2011 at 11:24 AM

How to read System Environment Variables in Crystal report 2008?

275 Views

hi,

I have a peculiar requirement where in Crystal report logic will be varied accroding to an environment variable.

I don't know how to read Environment variable in Crystal report.

For example,

I have a system for which an environment variable is created as EVAR.

In my crystal report, I need to create a variable which will read this EVAR and Output of this variable varies as per EVAR as shown below.

if

EVAR = jre6 then 'latest'

EVAR = jre5 then 'previous'

Please help me out on how to achieve this.

Regards,

Vamsee