Print Page | Close Window

writing code for formula

Printed From: Crystal Reports Book
Category: Crystal Reports for Visual Studio 2005 and Newer
Forum Name: Writing Code
Forum Discription: .NET programming API, report integration
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=17150
Printed Date: 24 Apr 2024 at 6:24pm


Topic: writing code for formula
Posted By: swami
Subject: writing code for formula
Date Posted: 28 Jul 2012 at 1:28am
Hello all,
 Very recently I have started using crystal report. I'm using it through visual studio 2008.
  I have used a crosstab.  I want to store values of cells in a row in some global array. But some functions like gridvalueat() are not accessible. Do i need to install additional libraries? Or any other configuration issue is there?
   Thanks in anticipation.
 



Replies:
Posted By: hilfy
Date Posted: 29 Jul 2012 at 7:54am
Why do you need to store the data in an array?  If I can understand what you're trying to do, I may be able to find another way to do it.
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics


Posted By: swami
Date Posted: 01 Aug 2012 at 10:14pm
Hello hilfy,
  Thank you for the response.
  What I'm trying to do is:
   I'm using a summary field (which is from a table) in the crosstab. There is another formula which is to be calculated(for each row) from all summary values in the row.Can I do it without saving the values in an array?
   (Actually, value stored in each cell of a row is a std deviation value, and these values are to be used to calculate Chronback's formula which requires all the values in  the row.)


Posted By: hilfy
Date Posted: 02 Aug 2012 at 2:21am
You don't need an array to do this - you should be able to access each of the values by using GridRowColumnValue().
 
-Dell


-------------
Proviti, Data & Analytics Practice
http://www.protiviti.com/US-en/data-management-advanced-analytics - www.protiviti.com/US-en/data-management-advanced-analytics



Print Page | Close Window