How to use vb variable in Crystal Report 9

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
ssaxena75Asked:
Who is Participating?
 
daniellyhConnect With a Mentor Commented:
hi,
i think my solutions may help ssaxena75, he should reply me whether it works or not..

rgds,
daniel
0
 
daniellyhCommented:
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
 
ssaxena75Author Commented:
Due to technical error in the System Comment could not be posted. Deley is regretted

S.K. Saxena
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.