473,320 Members | 1,838 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,320 software developers and data experts.

Selection Formula for subreports in Crystal Report viewer - Using ASP

Hi

I am calling and viewing Crystal Reports in internet explorer(using ASP pages) by
passing them the selection formula for the main report. Its working
fine. The problem is when the report has one or more subreport which
also requires selection formulas for them. I tried to find out from
docs but it seems there is no info on it, neither in the docs nor on
any forum! :-(

Does anybody have any idea how to do this?

Presently I am using something like this to call a report:-
http://localhost/TestReport.rpt?SF=({Table.Field} = 4)
Note: I am using Crystal Report 8.0 and IIS 5.0.

Regards,
Amit
amit.gupta.80[AT]gmail[DOT].com
Jul 19 '05 #1
1 7732
On 18 Jun 2004 02:28:10 -0700, am*************@coolgoose.com (RedZebra) wrote:
Hi

I am calling and viewing Crystal Reports in internet explorer(using ASP pages) by
passing them the selection formula for the main report. Its working
fine. The problem is when the report has one or more subreport which
also requires selection formulas for them. I tried to find out from
docs but it seems there is no info on it, neither in the docs nor on
any forum! :-(

Does anybody have any idea how to do this?

Presently I am using something like this to call a report:-
http://localhost/TestReport.rpt?SF=({Table.Field} = 4)
Note: I am using Crystal Report 8.0 and IIS 5.0.

Regards,
Amit
amit.gupta.80[AT]gmail[DOT].com


It might be easier to do if you use parameters rather then SFs in your call to the report;
You can then specify the various values using the prompt0=4&prompt0@subreportname = 5

Use the parameters in the record selection formula instead of dynamically passing explicit formiulas.
Jul 19 '05 #2

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

Similar topics

3
by: Robert Schuldenfrei | last post by:
Dear NG, I have Crystal Reports working to a file and directly to the printer with the following: private void mnuInvRep1301_Click(object sender, System.EventArgs e) {
5
by: Robert Schuldenfrei | last post by:
Hi Again, Forgive me for posting this again, but old items seem to get little review. I thought I could adjust the viewer properties without any further aid from the NG, but I was wrong. When...
19
by: LP | last post by:
I am using (trying to) CR version XI, cascading parameters feature works it asks user to enter params. But if page is resubmitted. It prompts for params again. I did set...
1
by: Reny J Joseph Thuthikattu | last post by:
Hi, I want to create a a crystal report based on the DAteTime Range.Can any one tell me how do i pass the Values from the VB.NET.I am uasing Crystalreportviewer control My field is isin the...
0
by: Henry | last post by:
I have written an ASP/VB.Net application via VS 2003 (Crystal V9) that uses MS Access 2000 as its database. I can export reports that have no linked sub reports for printing. However, I'm unable...
0
by: Chris | last post by:
I have the following situation in a VB.Net App I am working on: 1.)A report created in VS.Net 2003 using the CR.Net component of VS 2003. 2.)The datasource for the report is a Stored Proc in a...
0
by: zafar | last post by:
I need to Use selection formula for crystal report (user may give 1,2,3 ... or more criteria for report) what is the syntax for that. secondly how to use "views" in crystal report . Thanx if any...
0
by: mehtaprashant19 | last post by:
i have a problem with Crystal Report, i am giving a SelectionFormula to the Crystal Report Viewer, but it is giving me all the records If Session("Rep") Is Nothing Then Dim...
1
by: annemariearmour | last post by:
I am using Crystal reports version 11.2 to create reports. The data source is SQL Server, and I am using views rather than reporting directly from tables. I apply selection criteria to the incoming...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.