Print Page | Close Window

Parameters

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Technical Questions
Forum Discription: Formulas, charting data, Crystal syntax, etc.
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=4588
Printed Date: 08 May 2024 at 5:43pm


Topic: Parameters
Posted By: DWillett
Subject: Parameters
Date Posted: 21 Oct 2008 at 1:27am
Hi
 
I'm trying to pass parameters via VB6.
 
                Report.ParameterFields(1).AddCurrentValue ("PM001")
                Report.ParameterFields(2).AddCurrentValue (10409)
                Report.ParameterFields(2).AddCurrentValue (text2)
 
Text2 is a textbox which the user can enter a JobID and view that report.
I get a Type Mismatch13 error everytime. What is the correct ayntax to pass the parameter.
 
Regards


-------------
Thanks



Print Page | Close Window