Filtering List of Values in Parameter form
1. I am calling reports from (web based) forms 6i and passing a parameter. Based on the parameter, i want to restrict the list of values in the parameter form of the report.
2. I have two items in parameter form. Based on value entered in item 1, i want to filter values in item 2 (depending List of values).
Is it possible to do the above?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Srinivas KV:
1. I am calling reports from (web based) forms 6i and passing a parameter. Based on the parameter, i want to restrict the list of values in the parameter form of the report.
2. I have two items in parameter form. Based on value entered in item 1, i want to filter values in item 2 (depending List of values).
Is it possible to do the above? <HR></BLOCKQUOTE>
I don't think so.
We had to create a form with poplists to do the limitation of the second based on the first. By doing that we essentially bypassed the default parameter form and just passed the exact parameters we wanted.
Similar Messages
-
Parameter List displaying all the values on Parameter form
Dear All...If I uncheck the "Restrict List to predetermined values" option, then report parameter form displays all the values on web parameter form instead of displaying those values in the List Item. Is it the Default behaviour of Oracle Reports 10g or Can I control it anyway because if I've 1000 entries in a list, then displaying all those values openly on the form is an ugly thing and it increases the size of parameter form very much.
Hello,
A solution is provided in the Note :
Note.465886.1 How to Implement an Alternate Solution to Unrestricted List Of Values (LOV) in Parameter Form on the Web:
regards -
LOV Initial value on Parameter form
Hi, I am new to Oracle Reports so I hope this is not a lame question.
I have a drop down list on my parameter form based on a select query. My problem arises when I run the report, I would like the list to display a blank value as the initial value rather than the first value returned by the select statement. Does anyone have any ideas?You could always do something like:
select ename from
(select null ename from dual
union
select ename from emp)
order by nvl(upper(ename), 'A') -
Null value in parameter form.
In parameter form I want to leave blank option in order to print a report for all the values in the parameter form. I am writing the query for the parameter LOV that it fetches the values and making a union with 'select to_char(null) from dual.
I am getting a blank and the required output when the report is run using the report builder but the this blank space or null value disappears when the report is run on application server 10g. It seems to be a small problem but I am not able to get a solution for this. Please, suggest something.Hi,
Instead of a Null, why not use '-ALL-',
union all
select '-ALL-'
from dualthen in your query, you will have,
where column_1 = decode(:param1, '-ALL-', column_1, :param1) that way it will be more clearer for the users that if they picked '-ALL-' in the LOV that they will get all records and will eliminate the problem you are having with null when you deploy your report in application server.
-Marilyn -
Passing multiple character values from parameter form to PL/SQL
Hi,
I am passing multiple character values from parametr form into
the report query and a PL/SQL procedure. It works fine with the
query, when I use &variable. But, it doesn't compile in PL/SQL,
so I just used the :variable, but not getting any records in the
PL/SQL procedure. Any suggestions?
sincerely,
gjgj / Fedro,
Only using the &referecne, you can pas a string / multiple character values and this would work for query only.
The bind parameter in PL/SQL wouls support only single value
Thanks
The Oracle Reports Team -
Hello,
I am using ADF 11g
I am trying to prepare a custom search form (not af:query component). I dragged and dropped a view object in data control to create a select one choice component. It is working good.
But i am not able to have the LOV to have an empty item in the beginning.
I already tried to edit the View definition, and selected "Include no selection item" in List UI Hints section, but in the page, select one choice still does not have an empty item in the beginning.
What is missing here or what am i doing wrong ?
ThanksList of values in 11 does not work as in 10.
They need to be binded in model in specific view attribute.
You can create a transient view object (i.e. select null as list_attr from dual)
then you need to add to the attribute the list of value,
then drag and drop ListAttr to the page -
How to set dynamic parameter in list of values in parameter property
Hi,
I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
Regards,
amolHi,
I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
Regards,
amol -
List of Values (dynamic parameter) times out once and then works.
Hello. First time posting here. I'm having a strange (yet very predictable) issue with Crystals Reports List of Values. The List of Values is used on a dynamic cascading prompt and is published to the BO XI R2 repository. The prompt/list works fine when using Crystal Reports thick client, but when using the Crystal Reports viewer from InfoView the following happens everytime:
1. Any Report that uses the Parameter/LOV is launched.
2. After about 1-2 minutes, the viewer returns a "Timeout" error message.
3. The report is launched a 2nd time.
4. The parameters/LOVs display (takes about 8 seconds) and the report runs fine.
Then anytime a report is run within a certain period of time it works ok. But if no one runs a report for an extended period of time (i'm not sure how long, but it's on the order of maybe 30 mins.. to an hour), then it starts all over again. In addition, if I restart the services/server this same thing will immediately occur. (time out once, but work after that for a period of time).
I initially did not schedule the LOV to get generated on the server and left it so that it's done in real-time when the report ran. But then when I ran into this error, I tried scheduling it every 10 minutes or so, but the error continues to happen.
I also restarted the server/etc to no avail.
I saw another post on here that was kind of similar and that suggested that starting the LOV services as a domain user (that had admin rights on the BO server) helped him. I tried this as well and restarted everything but that didn't fix my issue.
Any help would be greatly appreciated!
ScottJust wanted to update this.
Because I use Business Objects OEM, I didn't have direct support with SAP/Business Objects. However, because of this issue (and other issues) we purchased Business Objects Edge 3.0.
After getting BOE 3 installed/configured, I migrated those reports and underlying Business Views over.
And guess what? The problem still occurred on the new platform.
I then created a support incident and the person that initially tried to help me couldn't figure out what was going on.
However, during that time, I did try re-creating the report using a newer version of Crystal (Crystal 2008) and the problem went away. (note, I didn't recreate the business views.. just the reports).
So bottom line:
I created all reports from scratch instead of using the reports that I migrated from BO XI R2/CR XI and no longer had the problem.
The techs never figured out the exact cause of the issue.
So far, my experience with their support has been the same on all incidents. They don't seem to be trained (at least at the 1st level) for actually using the debug/logs/etc to help quickly pinpoint/analyze issues. They do basically like I do (the end user) and smartly poke around and do trail/error. I have yet to get a support tech that knew the exact nature of my issue and could solve it without this kind of trial/error approach. -
Filtering Drop-down Values Adobe Interactive Form
Hi,
I am working on adobe interactive form, in which I have a normal drop-down. Now the requirement is, depending on the value of another field (country) , I need to display only the states pertaining to the country being displayed. In my drop-down I get a list of all states irrespective of the country.
I have created an Interactive Adobe form using WebDynpro ABAP. I have populated the view context in my business logic and I am using this context to populate my drop-down. I have a root node named as NODE_ROOT which is of cardinality 1:1 and a child node named as NODE_STATE of cardinality 0:n with State, State_Desc and CountryID as its attributes.
In my drop-down list I have mapped the Item to $record.NODE_STATE.DATA[*], Item_text to the attribute State and Item_Value to the Attribute State_Desc. I have also enabled the "Show Dynamic Binding" option from Tools->Options->Data Binding.
The Drop-down is working fine. I would like to filter these values based on country by making use of CountryID in my form. Is it possible through scripting? If so, how do I do it?
Sample code would be of great help.
Thanks,
AnushaTo The viewers of the forum, By mistake I posted the same question twice. Please discard this one.
-
Inter-dependent Lists in the Reports Parameter Form...
In Oracle Reports 10g, is there any way that we can make the lists interdependent. I mean suppose if the reports take two parameters, one is department id and another one is employee id. I want to show only those employee ids in the list who belongs to the department id which is selected from the first list.
Hello,
This topic has already been discussed in this Forum ...
For example:
Re: how to restrict Report Parameter2 based on Prameter1
Regards -
How i can transfer muliple values through parameter forms
FIRST
====
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no EMP_NO='||:V_EMP_NO);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no EMP_NAME='||:V_EMP_NAME);
OR
SECOND
=======
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no EMP_NO='||:V_EMP_NO||'EMP_NAME='||:V_EMP_NAME);
which one is correct ?
or any other syntax plz reply.Both the above are not correct. You can create 2 separate parameters and pass them.
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no EMP_NAME='||:V_EMP_NAME,EMP_NO||:V_EMP_NO);
If u want to pass multiple emp_nos then use EMP_NO='233,3232,3232' and then you need to extract these in reports
Rajesh ALex -
Report Parameter form not showing list of values in Report svr
I was using reports 6i where I used to have list box in report parameter form. I now converted recompiled my reports in 10g and when I run I am not geting the list of values. I get the values as a list below the field
ex.
ITEM :___________
box,book,pencil,rubber,
dvd,floppy...
previously it was coming as a list in the item field
thanks
MGHello,
http://www.oracle.com/webapps/online-help/reports/10.1.2/topics/htmlhelp_rwbuild_hs/rwwhthow/howto/params/pmp_creating_list_of_values.htm?tp=true
If you run the report from a Web browser and the list of values is unrestricted, the HTML Parameter Form will display a text field instead of a combo box, and a list of static values that you can copy and paste into the text field.
Regards -
Not getting Reports Parameter Form in web-forms environ
I am not able to get a report parameter form to appear for a
report called from forms via a 'run_product' command. It works
fine in client/server mode. In web-forms the report just goes
ahead and runs without the needed parameters. I have tried
explicitly passing a parameter list with the 'paramform' set to
'yes' and this did nothing. I have this on a NT box with latest
Dev2 patches applied.
1. Is the reports parameter form supposed to work in web-forms
mode?
2. How do you set it up to work, if it is supposed to work?
Thanks for any replies.
nullI guess you have to use web.show_document - I found this article
on DevConnect:
Article-ID: <Note:68647.1>
Circulation: PUBLISHED (EXTERNAL)
Platform: GENERIC Generic issue
Subject: How to show Reports HTML PARAMFORM when
calling Reports
from Forms
Modified-Date: 09-AUG-1999 18:02:04
Document-Type: BULLETIN
Content-Type: TEXT/PLAIN
Impact: MEDIUM
Component: SQLREP
PURPOSE:
This bulletin explains how to overcome the current restriction
of calling an Oracle Report from Oracle Forms and showing a
PARAMETER FORM. This is currently not possible when using the
RUN_PRODUCT built-in with
WEB DEPLOYED APPLICATIONS.
DESCRIPTION:
When you call an Oracle Report from Oracle Forms using
RUN_PRODUCT in Client-server, you can specify an optional
parameter called PARAMFORM to display the parameter form defined
in the Oracle Report.
For web-deployed applications, the PARAMFORM parameter can be
set to HTML to produce a HTML version of the parameter form.
When calling Oracle Reports from an Oracle Form using
RUN_PRODUCT and specifying PARAMFORM=HTML in the parameter list,
the Oracle Reports parameter form doesn't show the in the client
browser. If the Oracle Reports Cartridge/CGI is used and
PARAMFORM=HTML is specified, then the Oracle Reports parameter
form does appear in the client browser.
Oracle Forms does not use either the Cartridge or the CGI with
RUN_PRODUCT, and it's these thin clients that produce the HTML
Oracle Reports parameter form.
As a workaround to this problem, you can use either the
Cartridge or the CGI with the WEB.SHOW_DOCUMENT Oracle Forms
builtin. This does require either the Oracle Reports Cartrige
or the CGI to be installed. Neither of these are necessary if
the parameter form isn't required.
INSTRUCTIONS:
The following items need to be installed:
1. Oracle Reports Multi-tier Server.
2. Oracle Reports Web Cartridge
or
Oracle Reports Web CGI.
Here is a typical URL that can be specified in a browser
to run a report using Oracle Reports Cartridge implementation:
http://your_webserver/r30ows?
server=repserver21+report=emp_30.rep+
destype=cache+desformat=html+userid=scott/tiger@mydb+paramform=ht
ml
For CGI implementation:
http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html
The Oracle Reports parameter form now is shown. This can be
used with WEB.SHOW_DOCUMENT issuing the request to execute the
report to the Oracle Reports Multi-Tier Server instead of using
RUN_PRODUCT.
The following code may be added to a program unit, which then
issues the request to run the report:
IF get_application_property(user_interface) = 'WEB' then
/* Use Cartridge configuration with WEB.SHOW_DOCUMENT. */
WEB.SHOW_DOCUMENT('http://your_webserver/r30ows?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html', '_self');
/* OR for CGI configuration. */
WEB.SHOW_DOCUMENT
('http://your_webserver/your_vir_cgi_dir/r30cgi32.exe?
server=repserver21+report=emp_30.rep+destype=cache+desformat=html
userid=scott/tiger@mydbparamform=html', '_self');
ELSE
/* use RUN_PRODUCT for client-server with PARAMFORM=Yes. */
Add_Parameter(plid, 'PARAMFORM', TEXT_PARAMETER, 'YES');
RUN_PRODUCT
(REPORTS,'emp_30.rep',SYNCHRONOUS,RUNTIME,FILESYSTEM,plid);
END;
RELATED DOCUMENTS:
Developer/2000: Guidelines for Building Applications, Deploying
Applications on the Web (for detailed instructions on setting up
the Oracle Reports Cartridge and CGI)
Laura (guest) wrote:
: I am having the same problem with Dev 6 on NT. The parameter
: screen for reports works in client/server but not web using
run-
: product. I am getting error REP-0788: Warning the value of
the
: restricted LOV parameter is not among the selectable values.
: Any reports without a parameter screen work fine with run-
: product.
: Any help would be appreciated.
null -
Reports-Runtime Parameter Form
hi!
I made a report which contains quite a lot of data; so I
also created a user parameter for the runtime parameter form, so
the user can select one value so that the amount of data is
minimized; the user parameter is based on a select statement;
now my question: the way it is now the user can only make one
selection, how can he see all records and is not forced to select
a single value?
thx, michaela
nullMichaela (guest) wrote:
: hi!
: I made a report which contains quite a lot of data; so I
: also created a user parameter for the runtime parameter form,
so
: the user can select one value so that the amount of data is
: minimized; the user parameter is based on a select statement;
: now my question: the way it is now the user can only make one
: selection, how can he see all records and is not forced to
select
: a single value?
: thx, michaela
Hi Michaela,
I Understood that you have created user parameter based on
select statement which will display list of values in List item
in the Runtime Parameter form. User can select any one value
from the list & display the records for selected value in the
parameter form. But your question looks like user should have
facility to select all the value in the list from the runtime
parameter form.
Example : Display list of deptno in the Runtime parameter form.
If user selects any one deptno, display employee
details for the selected deptno. Also user should
have option of selecting records for all the dept.
1. Create user parameter P_DEPTNO based on following select
statement.
Select deptno from dept
Union
Select 'ALL' from Dual
2. Create the Query for the report as
Select *
from Emp
Where deptno = Decode(:P_DEPTNO, 'ALL', deptno, :P_DEPTNO)
So user will have option of specifying condition to
select all the records for all the deptno as well as user
can specify particular deptno.
I hope this may help you to solve your problem. Pls let me
know whether this helps you or not.
Mani/-
null -
Parameter Form-How to use a user parameter to retrieve list of values for another par
I am developing a report in Reports 6i. There are 2 parameters on parameter form namely year and month.
LOV for Year is retrieved from database. After user selects a value from LOV for year, I want to retrieve another LOV for month parameter based on selected year. That is how can we use a user parameter's value to dynamically retrieve an LOV for another parameter on the same parameter form.
Pl. guide.
Thanks in anticipation.You can't restrict the "List of Values" of one parameter based on the value of another parameter within the Reports Builder/Runtime parameter form.
The SQL select statements within LOV's are only executed once. They aren't re-calculated when you enter, leave or change other field values in the parameter form. This is mainly because there is no event model in the Reports parameter form and it only supports basic form functionality.
To do what you're after in a client-server environment you need to create an Oracle Forms "parameter form" and use that to execute the Report using the run_product() call. Actually, you should probably use Oracle Forms for any more generic "form" functionality such as radio buttons or check boxes.
If you're in a Web rather than Client-Server environment, it may be easier to create a JSP based parameter form. You can then use Reports 9i since it has JSP support to assist here.
Maybe you are looking for
-
I have a first gen MacBook pro with intel chip. All of a sudden when I try to start up instead of the apple logo I see a file folder with a question mark. Phone support wasn't much help since it is a older machine. It's either a software issue or the
-
Get-SCPerformanceData Network And Storage Usage Data
The Get-SCPerformanceData -VMHost hostname -PerformanceCounter NetworkIOUsage -TimeFrame Hour powershell command successfully brings back data, but the problem is I'm not sure what metric the data that is collected by the powershell command is in. I
-
Message between and iPhone 6 and iphone 6 plus
can I still receive text messages while on the phone from an iPhone 6 to iPhone 6 plus???
-
My iPod can't plays music on the right headphone
Hi I am having some problems with my I put any headphones or speakers in the headphone jack it only plays on the left side while the right side stays quiet. Also the headphone jack seems to be looser because I can jiggle the connector of my headphone
-
Option to NOT auto Record Enable?
Have searched GB Help, the GB PDF, and this forum, but not finding the answer (which means I'm probably just not searching correctly). In any case... Is there an option or preference in GarageBand to NOT activate the record enable button when selecti