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

Doubt in Reports 6i

151 100+
Hi all


I was working with a report which shows all the invoices for a particular supplier. There was a requirement to show only the validated invoices and remove cancelled invoices from thereport and accordingly i added one condition " cancelled_flag <>'Y'. so that it retrieves data where cancelled flag is not 'Y'.

Now in the apps environment, there is a parmaeter to show only the cancelled invoices. When it is checked YES then no data is coming in the output. How can i handle this problem with respect to the parameter. Can i use two queries in the data model that gets selected based on parameter in apps environment.

please help
thank u
Jun 26 '07 #1
7 1338
debasisdas
8,127 Expert 4TB
based on user input try executing different queries dynamically.
Jun 26 '07 #2
vamsioracle
151 100+
based on user input try executing different queries dynamically.

Thank you very much for your support

but

could you please elaborate it . how to do that
Jun 26 '07 #3
debasisdas
8,127 Expert 4TB
In your case u need to execute two statments

execute one by default but when the user chooses some other option try to execute the other query.

It this way the query will be framed dynamically at run time.
Jun 26 '07 #4
vamsioracle
151 100+
thank u

I worked on a query to dynamically select query based on parameter, it was working fine in toad but in report builder it was throwing an error missing expression.

the query is

select decode(:P_CANCELLED_FLAG,'YES',(Select (4+3) from dual),(Select (4+4) from dual)) from dual


the select clause here is replaced by actual select statement in the report. this is a demo one.


please suggest me the problem.
ASAP

thank u
Jun 27 '07 #5
debasisdas
8,127 Expert 4TB
Can y specify what is the use of

Select (4+3) from dual
in the query
Jun 27 '07 #6
vamsioracle
151 100+
hi

the query is juat a sample. in place of that i hav to place the query in the report builder.that was testing purpose query which i used in report builder.

Any way the syntax i had put was the same way but ithrows missing expression error.

thank u
Jun 27 '07 #7
vamsioracle
151 100+
Thank u very much for ur continued support

I was able to solve that using lexical Parameters in before report trigger.

thank u
Jul 2 '07 #8

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

Similar topics

1
by: BijuThomas | last post by:
Complicated - ASP/Security/data transfer/XML doubt In our company Head office we are hosting an intranet server in IIS (Windows 2000) , ASP and Sqlserver back end. We are maintaining our branch...
5
by: BStorm | last post by:
I have a transaction log file where the DataSet table's Description column is actually delimited into "subcolumns" based upon the transaction id. I would like to parse these into separate fields...
2
by: boomesh | last post by:
Hai all Can any one help of the following issue with Crystal reports for VS.NET i am using a stored proc to create a table, which forms the source for my report. In the stored proc, i am...
1
by: Alberto | last post by:
I have an stored procedure in SQL Server 2000 who has a Select. I put the result of the select in a DataReader. My question is: can I make a report with crystal reports who get the fields from the...
1
by: NagaKiran | last post by:
Hi I am developing a small application in VBA Here I am generating reports. Date field is also there. I want to get last 7days report. How can I get. Presently I am getting total information...
2
by: B.Newman | last post by:
I've got some VB.NET code that *should* get a list of reports from an Access MDB and populate a list box with them. It doesn't detect any of the reports at all. oAccess.Reports.Count comes up as...
0
by: itsraghz | last post by:
Hello people, My present project need is to have an Open Source Java based reporting tool, which would allow the users to customize the fields to be chosen at runtime. The chosen fields are used...
2
priyan
by: priyan | last post by:
hi all, I have installed oracle 10g in my system.Now i want to install forms and reports of version 9i. Can i install it in the same system or not.Please help me as soon as possible....
1
by: rengaraj | last post by:
Dear Experts, Currently i am developing an VB6 project. In which i must take reports. I am using Data Environment for generating reports. Each DataReport contains 1. Report Header, 2. Page...
0
by: firozfasilan | last post by:
Dear experts.. In Crystal reports 8.5 we can see the report in window...without the use of Crystal report viewer. is there any similar way in crystal reports 2008 ? i searched so many sites for the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
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.