Solved

pass VB variable value to  Seagate Crystal Report  using ADO

Posted on 2002-04-01
3
400 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
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 50 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 100

Expert Comment

by:mlmcc
ID: 6923454
listening
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

708 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

11 Experts available now in Live!

Get 1:1 Help Now