Solved

How to use vb variable in Crystal Report 9

Posted on 2004-04-05
5
343 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

867 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

24 Experts available now in Live!

Get 1:1 Help Now