473,387 Members | 3,820 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,387 software developers and data experts.

Crystal Report, C# : How to filter report programmatically

2
hi all
i would like to know is it possible to create crystal reports
using C# code...
can u give me some samples if possible..
thanks in advance for ur valuable reply
let me know the best to do it

urs
SKS
Nov 10 '06 #1
4 8347
I really don't get what u want?
But I m using crystal report in c# applications both windows and web.
If u describe ur problem then only i can help u right !
Nov 11 '06 #2
I have several days trying to get a report using C# , ASP.NET and Crystal Report. I’ve done the report using Crystal Report, but now I need to filter it. I have an attribute in my SQL data base named department. In a new ASP file I dropped a CrystalReportViewer and I‘ve already connected with the CrystalReport file.

My question is, how to filter this report?
Nov 26 '07 #3
CyberSoftHari
487 Expert 256MB
Use

Expand|Select|Wrap|Line Numbers
  1. objReport.RecordSelectionFormula = "{tblName.FieldName} = " + valCriteria 
Nov 27 '07 #4
CyberSoftHari
487 Expert 256MB
hi all
i would like to know is it possible to create crystal reports
using C# code...
Be clear you want to create crystal report or connect crystal report using C# code!
If you want to connect! The answer is yes and, you have to try.
Note : We can just point you.
Nov 27 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Bill | last post by:
im getting LoadReport exception when trying to open a non embedded report from a .NET application in Windows 98 machine (in Windows 2000 and Windows XP the same application works fine!!!!!) (the...
4
by: John Galt | last post by:
I need to save a report to an RTF and I am using OutputTo acReport: DoCmd.OutputTo acReport, stDocName, acFormatRTF, TodaysDir & "-" & "Name.rtf" This command saves the report nicely, however...
0
by: John Bailey | last post by:
Okay, I can display local reports just fine on my web server, but when I put my site on Crystal Tech I am getting the error: The definition of the report 'Main Report' is invalid. I do not...
2
by: Agnes | last post by:
I will use crystal report to design a report (e.g invoice) As the user run/preview the report, can he save the report as his own template , and then he adjust the report layout ??? Can crystal...
1
by: Sean Chiu | last post by:
Hi all, I have a problem on crystal report xml report service. After I finished a simple report service and tested it in local IIS, it works. However, when publishing it to a production IIS...
0
by: kolalakitty | last post by:
Hello, I'm new to using Crystal Reports and have run into a problem. I'm currently designing a new database for a company. The front end application is being coded in C# using Visual Studio.Net...
7
by: fleece | last post by:
I set up a form for searching criteria and pass the searching result to a report. On this report there is an unbound text box (=.Filter) and shows the searching criteria. It works fine when searching...
1
by: davidreid | last post by:
Hi, I created 2 seperate Crystal reports and each report performs its own calculations. However, I need to multiply the output of Report 1 with the output of Report 2. I created a new Crystal...
0
by: retrorocket | last post by:
I've searched and searched, I could really use some suggestions. I have a Crystal Report in report designer that contains a Report Header, a Page Header, and a Detail section. The first page should...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.