PC Review


Reply
Thread Tools Rate Thread

C# / Crystal Report filter problems

 
 
kolalakitty
Guest
Posts: n/a
 
      25th Aug 2006
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 2003 with
Crystal Reports. The back end is Microsoft SQL Server. I would really
like to use my report and have it pull information from the strongly
typed dataset in the project, this however results in the user being
prompted to log in to tables and regardless of the information given,
eventually fails. I switched it to using the back end database itself
and set the login information. It still prompts for 3 of the many
tables, but it will accept the information and show the report. The
report does not contain any data however as soon as I set a filter.

For example: I have a table of orders. I'm trying to print a specific
order. selectFormula is a private string in the form and shipment is a
public report, both are initialized when the form loads. When I set:

selectFormula = "{Quotes.QuoteID} = " + QuoteNoBox.Text;
//QuoteNoBox.Text is the order number
shipment.RecordSelectionFormula = selectFormula;
shipment.Refresh();

at the time of printing, I get a blank report.

Does anyone have any suggestions? Let me know if you need any more
information.
Thanks,
Elisabeth

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sending Crystal Report to Network Print Mailbox While Bypassing Crystal Report Viewer. John Smith Microsoft VB .NET 0 17th Jan 2007 04:17 PM
C# / Crystal Report filter problems kolalakitty Microsoft Dot NET 0 24th Aug 2006 08:16 PM
Crystal Report Problems Michael Persaud Microsoft ASP .NET 2 23rd Aug 2005 08:02 PM
Change Crystal Report Zoom Level using percentages in Crystal Report Viewer (Dotnet) Alex Stevens Microsoft Dot NET Framework Forms 1 30th Jun 2004 12:34 PM
Change Crystal Report Zoom Level using percentages in Crystal Report Viewer (Dotnet) Alex Stevens Microsoft Dot NET 1 30th Jun 2004 12:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:29 AM.