Solved

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

Posted on 2001-06-27
2
123 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

828 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