Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Case Statement for Crystal / Shared Variables/batch

Status
Not open for further replies.

sxmnl

Technical User
Dec 17, 2002
28
US
This is a tough one for me being I've only worked with crystal for 5 weeks.
I have 18 reactor's and I'm trying to show a profile of each reactor with a line chart that would consist of 4 tags. I have the chart working with four tags.
Example I want to share Tag1, Tag2, Tag3 & tag4 each tag let say is PIC532_01 = REACTORE ONE. _02 would be REACTOR TWO and so on for 18 reactor's.
So i'm guessing that I would share numbervar tag1,tag2,tag3 & tag4.

Know It even gets more complicated I need to use the Start time of the batch + 6 hours, and grab the reactor number from the batch report to draw the trends from.

I'm just a little confused in what the appopriate steps would be to try and get this to work..

Any suggestions would be great....Thanks In Advance
 
First off thanks for the response.
I decided to break this down to individual tasks. so right know I'm trying to see if I can pass variables to a chart fist.

if {?Reactor Number}=1 then {@II524}= 'Control Modules/II524_01:Linl.PV,IM02_1m_3yrs'
else if {?Reactor Number}=2 then {@II524}= 'Control Modules/II524_02:Linl.PV,IM02_1m_3yrs'

What i did was creat a parameter to prompt for the Reactor Number,If it equals 1 then I created a formula for each tag @II524 .

I get a error that say I need a string after =1
once I get this then I'll move on to the next phase

Thanks
 
Are you writing this in Basic Syntax or the default Crystal Syntax? Also, variables are only needed in limited instances. Are you sure you need variables, or by variable do you really mean a formula? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Expert's Guide to Formulas / Guide to Crystal in VB
- tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top