Crystal Report Viewer 9 – Questions


I am using a crystal report designer imported into VB from an existing report, loading in crystal viewer.
How can i loop into all fields i have in my report object to display them in a list box??
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mike McCrackenSenior ConsultantCommented:
What are you trying to do?

wh you need crystal report then ?????

you can use crystal report viewer to view report, It is non editable. it will not be helpful if you want dispay your reports in listbox and not presentable too.

you need to communicate with database and progrmatically display values in list box if you want to do so.
feesuAuthor Commented:
I will explain what i'm planning to do. I want to enable the user of choosing fields he wants to see in the report which is displayed in the viewer.
Listing these fields in a list box will let him click on the ones he wants, then i hide the rest.
JavaScript Best Practices

Save hours in development time and avoid common mistakes by learning the best practices to use for JavaScript.

Mike McCrackenSenior ConsultantCommented:
Will you also move them around to avoid large white spaces between fields?

A better idea would be to discuss the reports with the users and come up with several reports that the users agree will cover their requirements.

These links and examples may be useful

Using the Report Creation API


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
feesuAuthor Commented:
I am working on that. Thanks alot.
Mike McCrackenSenior ConsultantCommented:
Glad i could help

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Crystal Reports

From novice to tech pro — start learning today.