473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Crystal Report binding with Dataview for runtime sorting



Hi,
I am trying to sort the data in my crystal report at runtime. The
problem is that i can only query the database once and that is at the
loading of the report. At that time i fill up my dataset. Afterwards
when the sorted data is required, i use the Dataview's sort method and
sort the data. This sorted data is perfectly shown in the datagrid. Now
i want this data to be shown in my crystal report object too. Its not
working!!!

Can anyone tell me how can i make my dataview object bound to my crystal
report viewer object successfully?

The CRViewer object is bound successfully with the dataset object but
not with dataview object. Anybody knows y?

Any help is appreciated in advance.An an early reply is what i need ;)

regards,Saima.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #1
1 3117
Hi,

One possible way is to create a new dataset and copy the data from the old
one using the dataview, I agree that this is not the most efficient solution
but it certainly solve it :)

Another possible solution is to sort the report data using a parameter, I
haven't tried this though. you will have to try it yourself.
Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"saima ashraf" <sa**********@espnv.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...


Hi,
I am trying to sort the data in my crystal report at runtime. The
problem is that i can only query the database once and that is at the
loading of the report. At that time i fill up my dataset. Afterwards
when the sorted data is required, i use the Dataview's sort method and
sort the data. This sorted data is perfectly shown in the datagrid. Now
i want this data to be shown in my crystal report object too. Its not
working!!!

Can anyone tell me how can i make my dataview object bound to my crystal
report viewer object successfully?

The CRViewer object is bound successfully with the dataset object but
not with dataview object. Anybody knows y?

Any help is appreciated in advance.An an early reply is what i need ;)

regards,Saima.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Tabo | last post by:
Hi! all, I have a problem. When i created a dataset in ASP.net, then, i tried to push that dataset to crystal report. At the runtime, an error always prompted "logon failed!". How can i solve...
0
by: Vetril Group | last post by:
Respected sir, I created 3 parameters in Crystal Report, In my runtime form consits of main menu, if we click that menu we can data entry in the form, and if they click on the particular...
1
by: Joe | last post by:
Hi friends, I need dynamically generate the crystal line graph from the c# application. i used stored procedure.but i don't know how to connect the C#, stored procedure and crystal report. 1....
1
by: Michael Chong | last post by:
How can I change the sql query in my crystal report document during runtime? TQ Michael.
0
by: techsatish | last post by:
hi all, I have designed a chart using Crystal report 9.0 which comes along with Visual Studio.NET V1.1 2003.I have set the background color for my chart using the ChartExpert option...My color...
1
by: Eric | last post by:
Hi, Can somebody tell me a way to change the value of a textobject in a report at runtime. By the way if anyone know a way to know how many page my report are going to had in code it will be...
0
by: PAPutzback | last post by:
Is it possible to have a form where a user could select option for which fields they want to group a report. I'd like to have a default detail band and allow the user to group on up to two fields...
4
by: kharearchana | last post by:
How can I refresh my crystal report dynamicaly at runtime ? It does not show newly added records. Archana Khare
0
by: mailtogops | last post by:
Hi All, I am new to crystal report and done a small report for a project. I have a problem now. I am using Crystal Report 9.0 which comes with Visual Studio 2003 at my development...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.