Solved

How can I pass parameters from a vb form to crystal reports 8.5

Posted on 2001-06-27
2
121 Views
Last Modified: 2010-05-02
How can I pass parameters from a vb form to crystal reports 8.5 , if the crystal report is inside my data environment

  thanks
0
Comment
Question by:ceasar70
2 Comments
 

Author Comment

by:ceasar70
ID: 6233966
sorry, correction to my question
my report is my project but uses a command in the data  environment
0
 

Accepted Solution

by:
Marque_Quinsaat earned 50 total points
ID: 6289088
You can use
CrystalReports.formulas(0) = "formulaName ='" & ValueString & "'"
CrystalReports.formulas(0) = "formulaName =#" & ValueDate & "#"
CrystalReports.formulas(0) = "formulaName =" & ValueNumber
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Windows Script Host failed (Access is denied.) error 6 108
Protecting vb6 & .Net code Obfuscation 18 95
Child Form in front 4 38
Set email body to html using vbscript 6 25
Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now