Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

832 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