Print Page | Close Window

extracting parameters

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=4351
Printed Date: 05 May 2025 at 3:42am


Topic: extracting parameters
Posted By: debadatta
Subject: extracting parameters
Date Posted: 24 Sep 2008 at 4:53am
Hi
 
my requirement involves extracting previously passed parameters from the report after rendering has been finished. While doing so crystal decission library returns
 
parametervalues[0].currentvalues
 
which is not a parameterdiscretevalue object.
 
Hence i can not access the value of the parameter. I tried to cast it into discreteparametervalue but failed. is it not supported or what ?
 
is there any way to get around this problem ?
 
Thanks in advance..
dev


-------------
dev(1)



Replies:
Posted By: hilfy
Date Posted: 07 Oct 2008 at 2:54pm
Try parametervalues[0].currentvalues[0]
 
-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