Showing posts with label description. Show all posts
Showing posts with label description. Show all posts

Tuesday, March 20, 2012

Crystal Reports and Databinding

Hi,

is there any kind of possibility to bind the fields in a Crystal reports on an self created object or its class description? I can not bind the report fields on a database, so I would like to bind an ArrayList or something like that to the report.

It is possible? If yes, where can I find stuff about how to do it?Can you explain with more details?
Do you want to send array list and want to display them?|||Yes, I have different typed collections and want to show objects inside of it.|||Then use parameter and send that value to it|||Seems that it is what I want. Is there any kind of possiblity to use mapping names like in datasets or do I have to make the mapping by hand?

Any tutorials or samples would be helpful.

Monday, March 19, 2012

crystal report -sorting issue

I am new to crystal reporting
Ii have an existing report with Job Numbers, Job Description and Total fields, The report works fine with the right sorting and groping in the Crystal report viewer.
But once loaded in the ASP page it stops sorting and grouping in the asp page - companys brower page.
Any suggestions on what must have gone wrong.
Thanks in advance

SandyTry checking in the
Menu File / Options / Database tab / Perrform Grouping On Server|||Hi Sandy, saw a very similar post somewhere else, this sounds odd, if it sorts correctly in CR, it should sort in ASP the same, you may want to have a web person check to make sure something is not sorting your report once it gets to the page. Sorry I am not much help...|||Try checking in the
Menu File / Options / Database tab / Perrform Grouping On Server

hi

done the changes-- but how would it reflect in my asp page

thanks

sandy|||are you playing with SQLQueryString property?
or modifying 'Order By' statement in asp.

what amount sub reports there're in your main report?
what amount records show your report?|||are you playing with SQLQueryString property?
or modifying 'Order By' statement in asp.

what amount sub reports there're in your main report?
what amount records show your report?

NO there is no subreports in my report - its a simple report - with fields like job, description and amount. - with a total and a grand total in the end. the report is coming to from the viewer though an asp page. Its sorted in the
report but when it has sort in the asp page ... it refuses to do the same. but when i click on the job field it sorts by descending and with one more click to goes to ascending. Now i want a default ascending as in the report.
I am a newbie in asp..
If you can please help

sandy