473,402 Members | 2,061 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,402 software developers and data experts.

problem in generating crystal report in .net

Hi,
I am using Crystal Reports with .NET 2.0 for generating reports in my project. My database is SQLSERVER 2000.
I want to display list of absentees between 2 given dates.
For this I have written a stored procedure like below.

CREATE procedure tesk4(@Fromdate DATETIME, @Todate DATETIME)
as
declare
@return BIT

WHILE @Fromdate <= @Todate
BEGIN

SET @Fromdate = @Fromdate + 1

if DATENAME(WEEKDAY, @Fromdate) IN ('saturday', 'sunday')
print'saturday'
else
if @Fromdate IN (select holdate from holidays )
print 'Holiday '
else
select card_no from carddata where card_no Not in(select card_no from swipes where sdate =@Fromdate)

END
GO

Now how call this procedure in report as it have parameters.

Pls help me with a solution for this problem
Dec 21 '07 #1
1 1246
You should better use new reportform control from .net
you don't need to install anything reporting services or crystal reports it just works
Dec 24 '07 #2

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

Similar topics

1
by: jane | last post by:
I use following code to create a Crystal Report by connecting to an access db in ASP. It works fine. Now I switch to SQL Server and it doesn't work. It seems to me there is nowhere I can add login...
1
by: Vivek | last post by:
I am running my application using frame work 1.1 in that i am using crystal reports 9.1.5000.0; while generating reports giving the fallowing error...
0
by: mharris | last post by:
I need help with merging two Word documents into one through C# code. The problem isn't so much getting the documents put into one as it is maintaining the appropriate formatting, or rather...
0
by: Pratik Kothari | last post by:
Hi, I have problem with Crystal Report into ASP.Net. My reports gets generated properly but when I am clicking on <<Print>> button it is generating an error says <<<<Missing parameter field...
3
by: Milan Todorovic | last post by:
Hello, I need help. I have experience in ASP.NET programming, but this is my first dealing with Crystal Reports. I'm trying to make the most basic report purely for testing purposes: connect to...
0
by: Deeraj | last post by:
Hi, I am developing an ASP.NET application which uses Crystal reports 9. It was working fine. But later I installed the trial Crystal Report 11. After that the generating of the reports gives the...
0
by: bhaskar | last post by:
Hi all, let me share a problem which i have in my application.. I'm generating Reports using Crystal Report-9 in Vb.Net Applicaiton(Windows-Based). Everything is working fine, but when i deploy...
1
by: Shailja | last post by:
Hi, My problem is quite strange. Below, I have explained it. I have following tables in my project: 1) PurchaseParent 2) PurchaseChild 3) Item. PurchaseParent has following fields:
0
by: Shivajirp | last post by:
I want to generate crystal report by passing SQL query from the from VB form. I need help steps involved in crystal report designing and VB6 code and also I want to plot graph and show pictures
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...
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
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
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.