[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

pass VB variable value to  Seagate Crystal Report  using ADO

Posted on 2002-04-01
3
Medium Priority
?
441 Views
Last Modified: 2006-11-17
I am using Seagate Crystal Report in VB , I want to to pass the values to Seagate Crystal  Report from VB . I am using ADOdb for dataconnecion

      is it any benefit for using seagate crystal report .  
please give me the codeing ....
0
Comment
Question by:yasinmon
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Expert Comment

by:kcm76
ID: 6910644
u can use SelectionFormula like

Crystal1.SelectionFormula = "{Query1.Field1}='" &     strVariable & "' and {Query1.Field2}=" & intVariable

0
 
LVL 5

Accepted Solution

by:
hafeezmca earned 200 total points
ID: 6912413
If u want to just display the values from VB to Crystal Report then create few formula fields on the crystal report but remember their order as it matters.
From Vb while calling the report just append this code.
.formula(0)={Vb varaible name or the control name}
....
like this assign as many values as u need.
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 6923454
listening
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying 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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

650 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