?
Solved

pass VB variable value to  Seagate Crystal Report  using ADO

Posted on 2002-04-01
3
Medium Priority
?
435 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
Suggested Courses

752 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