Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

How to use vb variable in Crystal Report 9

Posted on 2004-04-05
5
Medium Priority
?
378 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 375 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

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

730 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