Solved

How to use vb variable in Crystal Report 9

Posted on 2004-04-05
5
364 Views
Last Modified: 2007-12-19
I would like to use my global variable defined and processed in VB 6 in my Crytal Report 9's  Details Section as well as in Page Header section. How can I do it .

The basic problem is to generate a Dynamic report where may have be n columns and n column header.  

Sanjeev
0
Comment
Question by:ssaxena75
[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
  • 2
5 Comments
 
LVL 1

Expert Comment

by:daniellyh
ID: 10829991
hi,
u can try create a parameter in CR, e.g name param_A.value type = number.

inside ur CR u can use this parameter for processing u desired.

when u call ur CR in vb using crystalreport control, b4 .action = 1 add this statement

CrystalReport1.ParameterFields(0) = "param_A;" & global_variable & ";TRUE"

hope i get ur question clear n this would help.

rgds,
daniel
0
 
LVL 1

Accepted Solution

by:
daniellyh earned 125 total points
ID: 11412488
hi,
i think my solutions may help ssaxena75, he should reply me whether it works or not..

rgds,
daniel
0
 

Author Comment

by:ssaxena75
ID: 11413173
Due to technical error in the System Comment could not be posted. Deley is regretted

S.K. Saxena
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
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…

734 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