Unseen user parameter data when it is based on list of values
Hi All;
i use oracle report builder version 6.0.8.8.3 on win98 platform and i have a silly problem.
When i create a user parameter with list of values , the list does not display any data .
When i select any empty row from the list the report runs correctly displaying the data filtered where the selected emty row indicating that the list contains data but it does not appear in the list.
I feel that it is a bug in my version.
thank you in advance.
i discovered a new notice about this problem,
when the data displayed is arabic ,it does not appear.
when it is english ,it appears clearly.
my nls_lang=american_america.ar8mswin1256 and i tried another nls_lang=american_america.ar8msawin and it does not work also.
i tried to un check the hide first column property but both arabic & english data do not appear
thank u for your concern
Similar Messages
-
Show user entered date when ssrs report exported to csv format
Hi All,
How can I show date range parameter entered by user when ssrs report is exported to csv format.
my csv output should look like this....
Date : 01/01/2015 TO 01/31/2015 (user selected dates)
ID,EmpFirstName,EmpLastName,Location
1,Tom,Garry,NY
2,John,Graham,NJ
3,Ron,Lorrie,CA
Thanks,
RH
sqlHi RH,
You can add two textbox at the top outside the tablix and using expression to get the parameter value use have selected to display in the textbox as blew:
TextBox1: =Parameters!Date.Value
TextBox2: =Parameters!To.Value
For Multiple value parameter you can use the expression like : =Join(Parameters!Date.Value,",")
You can rename the two textbox' name in the properties as "Date" and "To" then the two textboxs will display like belkow in the CSV report:
Date TO
01/01/2015 01/31/2015
ID EmpFirstName EmpLastName Location
1 Tom Garry NY
2 John Graham NJ
3 Ron Lorrie CA
If you still have any problem, please feel free to ask.
Regards
Vicky Liu
Vicky Liu
TechNet Community Support -
Passing parameter to record group to populate a list of value
i have a record group that populate a list of values
rg_id := Create_Group_From_Query( rg_name,
'SELECT USER_ID USER_ID,'
|| 'TO_CHAR(USER_ID) USER_ID2 '
||'FROM USER_LIST '
||'ORDER BY 2');
but haw i can pass a parameter (the value of a field) in the query that have the ' ' ??
i try this
rg_id := Create_Group_From_Query( rg_name,
'SELECT USER_ID USER_ID,'
|| 'TO_CHAR(USER_ID) USER_ID2 '
||'FROM USER_LIST WHERE USER_A = ' || :B0.FILED1 ||
||'ORDER BY 2');
BUT SEEM NOT WORKING !!!
ANY IDEA ??ok , thank's work very well, but i have a little problem :
the first time that i choose a value from the first list the second become populate very well, but the second time and over, the second list don't change and remeber the first choise.
rg_id := Find_Group( rg_name );
VAR_SQL := 'SELECT USER_ID USER_ID, TO_CHAR(USER_ID) USER_ID2 FROM USER_LIST WHERE USER_AGENZIA = ''' || :B0.USER_AGENZIA || ''' ORDER BY 2';
IF Id_Null(rg_id) THEN
rg_id := Create_Group_From_Query( rg_name, VAR_SQL);
END IF;
errcode := Populate_Group( rg_id );
Populate_List('B0.USER_ID', RG_ID);
may be the populate_group ?? -
Data Selection for report based upon a 'Prompt Value'
I want to report information in my report based upon a 'user input prompt value'
for example:
'Enter Shareholder Selection - A-Active, I-Inactive, B-Both Active and Inactive'
if the user enters 'A', the report selects only active shareholders
if the user enters 'I', the report selects only inactive shareholders
if the user enters 'B' the report selects all shareholders, active and inactive
the field in the database that this based upon is their total share value.
if this field is greater than zero (>0) they are considerd 'active'
if this field is equal to zero (=0) they are considered 'inactive'.
I have tried creating some type of filter, but am not having any luck.
I saw a few examples within the forums that I have tried without any luck....unfortunately most of the examples I've seen are base one only two choices.
I'm sure I need to create some type of 'independant varible' but am not sure how to do that either.
Any suggestions would be appreciated.
Thanks.Hi Daryl,
I Tried this unsuccessfully in DESKI . We can't Eliminate Rows having Empty Measure Values or Measure with 0 as values using Table Level Filter as FIlter can't FIlter rows based on Prompt value selection dynamically. Filters filter rows at a time and not based on 3 condition as Active, Inactive and Both. thus filters are of no use.
I Tried this in WEBI, and it is working perfectly you donu2019t have to create any Object in Universe, you can do it using function UserResponse() at report level.
Hence if you are comfortable using WEBI for Generating this report then Follow the steps.
1. Create Report With Name and Shares Object. It will display all Shareholder Names and No.of shares they hold.
2. Use Status Object in Query filter, use condition as u201CEqual Tou201D and Select prompt. It contains Active, Inactive and Both as values.
3. Report will Display all Shareholder names and No. of shares like 45, 789, 0, 4562 where 0 is inactive Shareholder and all other are active shareholder.
4. Create Variable using Formula.
=If(UserResponse("Enter Status:")="Active" And [Shares]>0;[Shares];If(UserResponse("Enter Status:")="Inactive" And [Shares]<=0;[Shares];If(UserResponse("Enter Status:")="Both";[Shares])))
5. Remove Shares Object from the report and Put Variable created with Names of Shareholders.
6. Select Table-> Properties-> Display-> Uncheck the Option u201CShow Rows with Empty Measure Valuesu201D
7. Report will display Value correctly as per your Prompt value selection.
I Hope this Helpsu2026
Thanksu2026
Pratik -
How to change the color of the data in a advanceddatagrid based on the its value
Hi All,
I'm loading the data into AdvanceddataGrid from XML. My requirement is like; if the value of the loaded data is lower than 5, then it should be shown Green in color. Or else if it is greater than 5 it should be shown in Red color.
It would be a great help for me if someone could help me in this issue.Hi, Pls find the solution of your problem,let me know if it helps you or you have any issue with this.
MainApplication.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="vertical">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.events.ListEvent;
[Bindable]
private var listDataArrayCollection:ArrayCollection=
new ArrayCollection([
{seq:'1',names:'John'},
{seq:'2', names:'Alex'},
{seq:'3', names:'Peter'},
{seq:'4', names:'Sam'},
{seq:'5', names:'Alis'},
{seq:'6', names:'Robin'},
{seq:'7', names:'Mark'},
{seq:'8', names:'Steave'},
{seq:'9', names:'Fill'},
{seq:'10', names:'Abraham'},
{seq:'11', names:'Hennery'},
{seq:'12', names:'Luis'},
{seq:'13', names:'Herry'},
{seq:'14', names:'Markus'},
{seq:'15', names:'Flip'},
{seq:'16', names:'John_1'},
{seq:'17', names:'Alex_1'},
]]>
</mx:Script>
<mx:VBox width="300" height="100%"
horizontalAlign="center"
verticalAlign="middle">
<mx:AdvancedDataGrid id="listComponent" width="50%"
height="100%"
borderStyle="none"
dataProvider="{listDataArrayCollection}">
<mx:groupedColumns>
<mx:AdvancedDataGridColumn width="50" dataField="{data.seq}" headerText="Seq" itemRenderer="SeqItemRenderer" />
<mx:AdvancedDataGridColumn width="100" dataField="names" headerText="Name"/>
</mx:groupedColumns>
</mx:AdvancedDataGrid>
</mx:VBox>
</mx:Application>
SeqItemRenderer.mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:mx="http://www.adobe.com/2006/mxml"
width="30" height="30" horizontalGap="5"
horizontalScrollPolicy="off">
<mx:Script>
<![CDATA[
override public function set data(value:Object):void
super.data = value;
]]>
</mx:Script>
<mx:TextInput width="75"
height="30"
text="{data.seq}"
editable="false"
color="{data.seq > 5 ? 0xFF0000 : 0x00FF00}"/>
</mx:HBox>
with Regards,
Shardul singh Bartwal -
Populating fields based on list box values
I have created an application based off of a table and so the 1st page is the actual report and the 2nd page is the data entry form. I have changed the form elements (like text box to select list) etc.
I need to have (2) text box fields populated based on the value from the 2nd select list box. I created a pl/sql page process that will check the value of the select list and assign values to the text boxes. This is triggered when a POPULATE button is pressed.
When I select a truck number in the select list - nothing happens and the original select list values get reset back to original. There is another button used in order to insert the data so that's why I figured I needed to add another button to trigger the population of the text boxes from a table. Here is my pl/sql page process used to populate:
BEGIN
SELECT dr1_name, dr2_name
INTO
:P2_DRIVER_1, :P2_DRIVER_2
FROM
active_drivers a
WHERE
:P2_DRIVER_CODE = a.code;
END;
It is set to fire on submit - before computations and validations.
Regards,
JeffNot sure if this is the best way but it works for me
Make P2_DRIVER_CODE be a form element of Select List with Submit
Create 2 items, P2_DRVR1 and P2_DRVR2, of form element Hidden
Edit the P2_DRIVER_1 item. In the source region enter :P2_DRVR1 in Post Calculation Computation.
Edit the P2_DRIVER_2 item. In the source region enter :P2_DRVR2 in Post Calculation Computation.
Create a page rendering computation for item: P2_DRVR1.
Type: SQL Query
Computation Point: Before Header
Computation: SELECT dr1_name FROM active_drivers a WHERE a.code = :P2_DRIVER_CODE
Create a page rendering computation for item: P2_DRVR2.
Type: SQL Query
Computation Point: Before Header
Computation: SELECT dr2_name FROM active_drivers a WHERE a.code = :P2_DRIVER_CODE
When an item is selected in P2_DRIVER_CODE the page will submit/refresh, causing the computations to be fired. P2_DRIVER_1 and P2_DRIVER_2 will be populated by the return of the queries in the computations respectively.
P2_DRIVER_1 and P2_DRIVER_2 are still editable by the user (unless you define them as read only) but if you have another select list with submit on the form, if used, the page will refresh and the computation will run again overwriting what the user has entered.
Suppose I want the user to be able to change the defaults and keep from losing them (changed back to default) in case another item submits/refreshes the page.
Create a hidden item P2_DRIVER_CODE_CHANGE with the source of: Static Text. For the Default Value enter &P2_DRIVER_CODE. (include the period after &P2_DRIVER_CODE)
Edit the P2_DRVR1 and P2_DRVR2 computations and in the Conditional Computations region set:
Condition Type: Text in Expression 1 != Expression 2 (include &ITEM substitutions)
Expression1: &P2_DRIVER_CODE.
Expression2: &P2_DRIVER_CODE_CHANGE.
Hope this works for you,
Jeff -
Fill another textbox based on list item value
I have a list_item with option1, option2, option3 and 'N/A' with values 1,2,3,4. There is another text field called startdate of date type format FMMM/DD/RRRR. I would like to display date '01/01/1900' in the text box whenever user select 'N/A' in the list item.
I used varuious trigger - WHEN-LIST-CHANGED or POST_CHANGED with following code.
if :block1.options = 'N/A' then
:block1.startdate := '11/11/1111';
else
:block1.startdate := :block1.startdate ;
end if;
On both triggers, I am getting error when I select 'N/A' in a list item
FRM-40735: WHEN-LIST-CHANGED trigger raised unhandled exception ORA-01843.
-1403: ORA-01403: no data found
Could you please help me with this? I will really appreciate it.
Thanks,
user7954680Hi,
You might want to check this
ORA-01843 is caused coz of the following reasons
Cause: A date specified an invalid month. Valid months are: January-December, for format code MONTH, and Jan-Dec, for format code MON.
Action: Enter a valid month value in the correct format.
-Nisar -
ORA-01722: invalid number error when trying to pass a list of values
Gurus
We are using a function like so
The usage for the function below is
Select fn_st_bb_nm_uc (‘1232131312, 123213312’) from dual;
SQL> /
Select fn_st_bb_nm_uc ('1232131312, 123213312') from dual
ERROR at line 1:
ORA-01722: invalid number
It’s giving an invalid number error. When we pass one value it is working fine but when we pass a string of values it gives this error. I have opened an SR around this but would greatly appreciate your help
Acc_blackbar is the table and acc_blkbr_id is of type number.
FUNCTION fn_st_bb_nm_uc (pBB_ID_LIST VARCHAR2)
RETURN VARCHAR2 IS
vspcm_typ_nm_uc VARCHAR2 (2000);
CURSOR stname
IS
SELECT distinct st.spcm_typ_nm_uc
FROM
acc_blackbar abb,
acc_specimen_type ast, acc_procedure apr,
acc_specimen_part asp,
specimen_type st, procedure pr,
proc_proc_family ppf
WHERE abb.ACC_BLKBR_ID = apr.ACC_BLKBR_ID
AND apr.ACC_SPCM_PART_ID = asp.ACC_SPCM_PART_ID
AND asp.ACC_SPCM_TYP_ID = ast.ACC_SPCM_TYP_ID
AND ast.ACC_SPCM_TYP_SPCM_TYP_ID = st.SPCM_TYP_ID
AND apr.procdr_id = pr.PROCDR_ID
AND pr.PROCDR_ID = ppf.PROCDR_ID
AND abb.acc_blkbr_id in (pBB_ID_LIST) ;
BEGIN
DBMS_OUTPUT.PUT_LINE(' BB LIST : ' || pBB_ID_LIST);
FOR st IN stname
LOOP
vspcm_typ_nm_uc := vspcm_typ_nm_uc || ',' || st.spcm_typ_nm_uc;
END LOOP;
vspcm_typ_nm_uc := SUBSTR (vspcm_typ_nm_uc, 2);
RETURN vspcm_typ_nm_uc;
END;This ask tom thread covers multiple solutions:
[http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425|http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:210612357425] -
Range from columns based on list of values
Hi,
I have a table that has a key_code and a alt_code like this
with values like so.. (has 2 million records in 8.1.7 Database)
KEY_CODE ALT_CODE
0001 AA
0001 AB
0001 AF
0001 G4
0001 G5
0001 G6
0200 BB
0200 BC
0200 BD
0200 Bx
I'm struggling with the concept of how to create a range of these values.
There is one problem I'm running into.
The alt code must be in a valid code list to have a break in the range
An example would be
VALID ALT_CODES TABLE
B1
B2
ZA
ZB
ZC
ZH
ZJ
ZK
WHAT I'M LOOKING FOR IS THE OUTPUT TO BE
KEY_CODE BEGRANGE ENDRANGE
10 B1 B2
10 ZA ZK
20 ZA ZJ
WHAT I'VE GOT SO FAR IS
SOMETHING THAT LOOKS LIKE
THE PROBLEM IS THAT THE VALID ALT_CODE LIST IS NOT SEQUENTIAL AND THERE ARE GAPS.
SO IF, FOR EXAMPLE THERE IS NO CODE ZD IT WILL BREAK A RANGE ON IT THE VALUE BETWEEN ZC AND ZH
WHEN I DON'T WANT IT TO.
KEY_CODE BEGRANGE ENDRANGE
10 B1 B2
10 ZA ZC
10 ZH ZH
10 ZJ ZK
20 ZA ZC
20 ZH ZH
20 ZJ ZJ
I'd be most grateful for your input.Ditto.
And where the hell does this row come from (not to mention the 10s and 20s being totally different key codes from the first table)?
KEY_CODE BEGRANGE ENDRANGE
10 B1 B2
10 ZA ZK
20 ZA ZJ <-- ?? -
I have 3 iPhone5's with ios 6.1.2 that user cellular data when connected to wifi. Every hour to the minute even when no apps are running, iCloud is off, Ads are off, Diagnostics are off. Running on AT&T cellular network.
Date Time To/From
Type
Direction
Msg/KB
03/14
01:30 PM
phone
Internet/MEdia Net
Sent
78 KB
03/14
01:02 PM
phone
Internet/MEdia Net
Sent
4397 KB
03/14
12:48 PM
phone
Internet/MEdia Net
Sent
19520 KB
03/14
12:30 PM
phone
Internet/MEdia Net
Sent
19503 KB
03/14
11:30 AM
phone
Internet/MEdia Net
Sent
2427 KB
03/14
10:30 AM
phone
Internet/MEdia Net
Sent
359 KB
03/14
09:30 AM
phone
Internet/MEdia Net
Sent
1396 KB
03/14
09:25 AM
phone
Internet/MEdia Net
Sent
1 KB
03/14
08:25 AM
phone
Internet/MEdia Net
Sent
30 KB
03/14
07:25 AM
phone
Internet/MEdia Net
Sent
16 KB
03/14
06:25 AM
phone
Internet/MEdia Net
Sent
45 KB
03/14
05:25 AM
phone
Internet/MEdia Net
Sent
15 KB
03/14
04:25 AM
phone
Internet/MEdia Net
Sent
14 KB
03/14
03:25 AM
phone
Internet/MEdia Net
Sent
21 KB
03/14
02:25 AM
phone
Internet/MEdia Net
Sent
23 KB
03/14
01:25 AM
phone
Internet/MEdia Net
Sent
16 KB
03/14
12:25 AM
phone
Internet/MEdia Net
Sent
23 KBHello All Who Read This!
I just bought an iPhone 5 on the 21st of March. I ate through 850 MB's in 12 days. I read up on the issue of data consumption looking for tips to conserve data. I did not know there was a problem.
This morning I found out that I was leaking data very little, but daily it accumulates. I am in Barcelona, Spain. I do not have a contract, I am on a prepaid Yoigo carrier.
I happened upon an article/blog by Robert Parks at snnyc.com "problems persist in ios 6.1.2.".
Although his situation did not relate to me, I tried a few tests on my own to see if I could stop the data leak without turning off my celular data and possibly push notifications, I think I found a solution that might help someone:
In ios 6.1.3 goto Settings/Mail, Contacts,Calenders and scroll down to Calendars and turn off " New Invitation Alerts" and also turn off "Shared Calendar Alerts".
My Cellular Network Data seems to be behaving. I only see a change in MB used when I open an ap that uses data.
All The Best -
Creating report based on user selected Date Range
Hello.
I am trying to display an Apex report that selects data for the report based on a user entered date range.
It's a simple page with two date picker fields (p18_start and p18_end).
The report region SQL looks like this:
SELECT *
FROM prj_items
WHERE LM_DT BETWEEN :p18_start AND :P18_end
One table, one field on the table to search and two Apex variables.
I thought this would be fairly simple, but I am obviously missing something.
I not even sure what other information is needed to help me figure this out.
-JodyHi,
You can set defaults for the datepickers if you need to - this could be done in a computation on the page for each item and conditional on the item being null.
When I've done something similar to this, I've created two hidden page items - eg, :P19_FIRST_DATE and :P19_LAST_DATE and populated these with the earliest/latest date that the user could reasonably select (perhaps, in your case, the MIN(LM_DT) and MAX(LM_DT) values).
Then your SQL would be:
select * from PRJ_ITEMS
where LM_DT BETWEEN TO_DATE(NVL(:P19_START,:P19_FIRST_DATE), 'DD-MON-YY')
AND TO_DATE(NVL(:P19_END,:P19_LAST_DATE), 'DD-MON-YY')If you don't want to set default dates, you could do something like:
SELECT * FROM PRJ_ITEMS
WHERE (:P19_START IS NULL AND :P19_END IS NULL)
OR (:P19_START IS NOT NULL AND :P19_END IS NULL AND LM_DT >= TO_DATE(:P19_START,'DD-MON-YY'))
OR (:P19_START IS NULL AND :P19_END IS NOT NULL AND LM_DT <= TO_DATE(:P19_END,'DD-MON-YY'))
OR (LM_DT BETWEEN TO_DATE(:P19_START,'DD-MON-YY') AND TO_DATE(:P19_END,'DD-MON-YY'))There are various reasons why your two dates are being cleared when the page is reloaded. Firstly, you should check the branch that returns to the same page - make sure you are not clearing the cache for the page. Then, have a look to see if there is a "reset page" process (usually created for you when you create a form page). Then, check the Source settings for the items. Typically, these would be "Only when current value in session state is null" and a Source Type of "Static Assignment" with the "Source Value or Expression" left empty.
Andy -
User Exit/Badi to change the billing plan date when create sale order
Experts,
Please advise which user exit/badi can be used to change the billing plan date wen create sale order.
My requriement is based on some rules to dynamically change the line item billing plan start date and end date when create sales order.
I tried some user eixt in MV45AFZZ, but the date got revert to the orginal date from billing plan.Hi,
check the include MV45AFZB.
Thanks & Regards,
Sateesh. -
How to show all data when using more than one parameter?
Hi All,
I used a query like this to show the data in a report:
select col1, col2 // col1 and col2 are columns of tabale tab1
from tab1
where
tab1.col1 =
(case when :P_COL1 IS NOT NULL then // :P_COL1 IS A USER PARAMETER TO EQUAL COL1
:P_COL1 ELSE tab1.col1
end)
AND TAB1.COL3 =
(case when :P_COL3 IS NOT NULL then // :P_COL3 IS A USER PARAMETER TO EQUAL COL3
:P_COL3 ELSE tab1.col3
end)
The problem is when I run the report with paramters values or not, It shows the data which is not null for both col1 and col3.
That is when the value of col1 or col3 is null the report would not return that record!
I want the report to show all data not only values which is not null!
How to do this?Rainer,
That where clause will fail when col1 in the table is null and the parameter has the dummy value. Consider the following:
variable p_col1 varchar2
exec :p_col1 := 'yourdummyvalue';
select
from
select 'yourdummyvalue' col1 from dual
union all
select 'other' from dual
union all
select null from dual
union all
select 'X' from dual
) tab1
where nvl(tab1.col1,'yourdummyvalue') = nvl(nvl(:p_col1,tab1.col1),'yourdummyvalue')In this case, the query returns the row with null and the row with 'yourdummyvalue', where only the row with 'yourdummyvalue' should be returned.
You must do something like this:
where ( :p_col1 is null or ( :p_col1 = tab1.col1 ) )That one is the simplest and does not need a dummy value. Here are some other more complicated examples:
where nvl( :p_col1, 'yourdummyvalue' ) = decode( :p_col1, null, 'yourdummyvalue', tab1.col1 )or this:
where nvl( :p_col1, 'yourdummyvalue' ) = nvl2( :p_col1, tab1.col1, 'yourdummyvalue' )In the last 2 cases, it will not matter if the dummy value exists in the data, but they are unnecessarily complex.
Kurz -
PPOME 'date and preview period'. Is there a user parameter for settings?
Hi
The default setting for the 'date and preview period' in PPOME/PPOSE is sy-datum + 3 months. Our users would like this to be sy-datum with time period 'Complete'.
Is there a user parameter to set for this.
Is there anywhere I can see the documentation for the values in parameter POK?
Thanks in advance
KirstenHi Kirsten,
In PPOME, when you select end date 31.12.9999 from date & preview period, save and exit; the next time you login the system defaults this selection for you.
There is a user parameter OM_DATE (format : YYYYMMDD) which defaults the start date in date and preview period window in PPOME.
Best regards,
Dilek -
When sharing my 60 minutes iMovie project with iDVD inmediately message 'The project could not be prepared for publishing because an error occurred (Error in user parameter list)' appears. Could not find the user parameter list, so I've no more info about this error.
Option File - Finalize Project gives inmediately the same errormessage.
Also option Share - Media Browser - Large/Medium/Mobile give the same errormessage.
Please advise, thank you!Additional info: trying to write to internal disk (268 GB Free out of 499 GB)
Please advise, alko80
Maybe you are looking for
-
Remote app on ipod fails to connect to itunes 10
After upgrading to iTunes 10, my remote app on the ipod touch 4G fails to connect. I've reauthorized, which times out most times, but eventually when it works, it only continues to connect to iTunes until I close and restart the program. I've disable
-
I had no problem in downloading a free app after updating to IOS5. I thought everything was o.k. but when I tried to launch an app, it just blinked and nothing happens. I had a notification before updating to IOS5 that I should back up my app purch
-
How to make different 1st page header in Pages 5.0?
Title says it all. Any suggestions?
-
Hi, Just want to create a class that provides a unique IP address to the client from the pool of available IP address. the client will then maintain possession of this IP address until a time when the workstation is ready to return the IP address to
-
Hi, I have installed Vision Demo of Oracle Apps 11.5.5 on Windows 2000 server. when I try to open the form People/Enter and Maintain the system shows busy and I am not able to perform any operations. pls help Thanks