RadioButton with singleselection for AdvTable Column
hi,
my requirment is in advanceTable i have a column(name:PrimaryYN) with RadioButton which is created in stacklayoutRN .......i want to select only one row at a time but it can select only more than one row ........... the singleselection property is not possible for me becoze i can't change the prompt of the singleselection. the functionality is that its shd work as singleselection .......can anyone help me out plzzz its urgent
thanks in advance
naveen
Hi Everybody....
I have exactly the same requirement in which i have to select only one rows out of total rows through a radio button....
Rite now i am able to select multiple rows....
Any help would be highly appreciated.
Thanks,
Gaurav
Similar Messages
-
XMLGEN: Produce XML dump of a table WITH tags for null column values
I am new to generating XML so bear with me....
We have a customer who needs an XML extract of data, including tags for any column that is null.
I created a simple test case below using DBMS_XMLGEN.getXML. The first row (A1) has no null values and thus tags for columns A, BEE and CEE are produced. The second row (A2) has null in column BEE and thus tags for only columns A and CEE are produced.
Is there a way to force a tag for null column BEE in the second row?
create table foo (A varchar2(10), BEE number, CEE date);
insert into foo values ('A1',1,sysdate);
insert into foo values ('A2',null,sysdate);
SELECT DBMS_XMLGEN.getXML('SELECT * FROM foo') FROM dual;
<ROWSET>
<ROW>
<A>A1</A>
<BEE>1</BEE>
<CEE>27-SEP-12</CEE>
</ROW>
<ROW>
<A>A2</A>
<CEE>27-SEP-12</CEE>
</ROW>
</ROWSET>What's the database version? (SELECT * FROM v$version)
Could you use this instead :
SQL> select xmlserialize(document
2 xmlelement("ROWSET",
3 xmlagg(
4 xmlelement("ROW",
5 xmlelement("A", a)
6 , xmlelement("BEE", bee)
7 , xmlelement("CEE", cee)
8 )
9 )
10 )
11 -- for display purpose only :
12 as clob indent
13 )
14 from foo
15 ;
XMLSERIALIZE(DOCUMENTXMLELEMEN
<ROWSET>
<ROW>
<A>A1</A>
<BEE>1</BEE>
<CEE>2012-09-27</CEE>
</ROW>
<ROW>
<A>A2</A>
<BEE/>
<CEE>2012-09-27</CEE>
</ROW>
</ROWSET>
Or,
SQL> select xmlserialize(document
2 xmlquery(
3 '(#ora:view_on_null empty #)
4 {
5 <ROWSET>{fn:collection("oradb:/DEV/FOO")}</ROWSET>
6 }'
7 returning content
8 )
9 as clob indent
10 )
11 from dual;
XMLSERIALIZE(DOCUMENTXMLQUERY(
<ROWSET>
<ROW>
<A>A1</A>
<BEE>1</BEE>
<CEE>2012-09-27</CEE>
</ROW>
<ROW>
<A>A2</A>
<BEE/>
<CEE>2012-09-27</CEE>
</ROW>
</ROWSET>
(where "DEV" is my test schema)
If you want to stick with DBMS_XMLGEN, you're gonna have to use PL/SQL and setNullHandling procedure.
Edited by: odie_63 on 27 sept. 2012 17:14 -
Need help with query for converting columns to rows
Hello,
I know this is a very common question asked in the forum. I have searched regading this, i did find some threads, but i was not able to achieve what i require from the answers posted. So anybody please help me.
I have a table which is having multiple columns as follows:
Insert into table_1 (X,Y,Z,A,B,C,D,E,F,G,H,I) values (0,0,2,0,0,1,3,0,0,0,0,0);I want to convert the result into a two column, multiple rows i.e., I want the result as follows:
Col1 Col2
X 0
Y 0
Z 2
A 0
B 0
C 1
D 3
E 0
F 0
G 0
H 0
I 0Please anybody help me in writing the query for this..Is this what you are expecting:
SQL> WITH T AS
2 (
3 SELECT 0 X, 0 Y, 2 Z, 0 A, 0 B, 1 C, 3 D, 0 E, 0 F, 0 G, 0 H, 0 I FROM DUAL
4 )
5 SELECT 'X' col1, X col2 FROM T
6 UNION ALL
7 SELECT 'Y' col1, Y col2 FROM T
8 UNION ALL
9 SELECT 'Z' col1, Z col2 FROM T
10 UNION ALL
11 SELECT 'A' col1, A col2 FROM T
12 UNION ALL
13 SELECT 'B' col1, B col2 FROM T
14 UNION ALL
15 SELECT 'C' col1, C col2 FROM T
16 UNION ALL
17 SELECT 'D' col1, D col2 FROM T
18 UNION ALL
19 SELECT 'E' col1, E col2 FROM T
20 UNION ALL
21 SELECT 'F' col1, F col2 FROM T
22 UNION ALL
23 SELECT 'G' col1, G col2 FROM T
24 UNION ALL
25 SELECT 'H' col1, H col2 FROM T
26 UNION ALL
27 SELECT 'I' col1, I col2 FROM T
28 /
C COL2
X 0
Y 0
Z 2
A 0
B 0
C 1
D 3
E 0
F 0
G 0
H 0
C COL2
I 0
12 rows selected. -
Problem with header for each column
Hi,
I want change column header-text dynamically in the table control of module pool programming.Please help me.Hi Abhijit,
no need to put '&' in the variable .You just give the name of the variable as lw_text and also dont forget to expand the Def.Length attribute to equal to the length of that variable in the decalration.It is working for me.
put the follwoing code in PAI module.
Data:lw_text(15).
If cond1 = true.
lw_text = 'Description 1'.
elseif cond2 = true.
lw_text = 'Description 2'.
Endif.
Using the above code u can modify dynamically. -
Problem with getLong for a column of type NUMBER
When ever I am calling getLong on a column defined as NUMBER in the database, I get this error message. The number I am retreving is something like '320000000010'..
What could be the problem? Has somebody encountered a
similar problem?
The database is 8.1.7.4 and the JDBC driver is a thin driver.
java.lang.ArrayIndexOutOfBoundsException
at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3181)
at oracle.sql.LnxLibThin.lnxsni(LnxLibThin.java:6571)
at oracle.sql.NUMBER.toLong(NUMBER.java:373)
at oracle.sql.NUMBER.longValue(NUMBER.java:2002)
at oracle.jdbc.driver.ScrollableResultSet.getLong(ScrollableResultSet.java:807)
at oracle.jdbc.driver.UpdatableResultSet.getLong(UpdatableResultSet.java:458)
Thanks
RangaI had this problem after migrating to JDeveloper 10.1.3. Problem was with inconsistent DB column types. In our case, the DB column was CHAR containing only numbers, but VO defined it as NUMBER. This caused no problem in 9.0.3 we used before.
<ViewAttribute
Name="ParentFlagNew"
IsPersistent="false"
Precision="1"
Type="oracle.jbo.domain.Number"
ColumnType="NUMBER"
AliasName="PARENT_FLAG_NEW"
Expression="PARENT_FLAG_NEW"
SQLType="NUMERIC" >
<Properties>
<Property Name ="DISPLAY_LIST" Value ="1=Yes,0=No" />
<Property Name ="DISPLAY_LIST_sk" Value ="1=Áno,0=Nie" />
<Property Name ="Renderer" Value ="sk.transacty.cm_iface.bc4j_common.ListFieldRenderer" />
</Properties>
<DesignTime>
<Attr Name="_DisplaySize" Value="1" />
</DesignTime>
</ViewAttribute> -
How to create table with dynamic amount of columns which are nested columns
M trying to fetch data and show in a javaFX table.
My table displays the details of different items from ItemVO , where :
public class ItemVO()
String itemName;
List<ItemTypeVO> type;
and My ItemTypeVO has the following attributes :
public class ItemTypeVO()
String typeName;
Integer quantity;
Integer price;
Now, i want to display the details of an item in a table in which the itemname and quantity will be displayed, the quantity column will have nested columns showing different types(typeName) as found from List<ItemTypeVO> inside ItemVO.
This question is similar to this link but my not able to find how to link a list with itemVO for nested columns. :(
Please help !!
M still unable to find a solution..
Edited by: abhinay_a on Jan 14, 2013 10:50 AMHi Abhilash,
Thanks for the quick reply.
Actually the problem is with the image, as I am not able to rotate 270 degree. Crystal report cannot support the rotation of image.
i have another problem, I have to create a report in which
Lables are fixed on the left side of report and 3 columns per portrait page. Those columns are
dynamically created and shown in the report.
The format is like the above. Can you please help me in doing this report, as I tried it doing
with CrossTab. I am really stuck to this report. -
Hi All,
We have a report with two dimensions in col , one in row remaining in pov...user want to select multiple members [its more than 10 members..so we thought prompts will not be good.] for one column for different members in second dimension of column and want see the variance between them.
can anyone suggest me how can i achieve this. thank you
regards,
RaviHi All,
Can any one suggest me on this. thanks inadvance.
Regards,
Ravi -
In BI Publisher Report of excel output for one column is filled with spaces
Hello,
We have issue in BI Publisher report of excel output.
In Excel output for one column few records are displaying as left alignment
and few record are displaying as right alignment.
If you are having any xml tag or any syntax for removing spaces for left side
Please help on this issue.
Thanks in Advance.
Regards,
SwarajPlease post the details of the application release, database version and OS along with BI Publisher.
Is the issue with all reports or specific one(s) only?
Do you have the patches in the following docs applied?
Overview of Available Update Patches for Oracle BI Publisher Enterprise 10g [ID 797057.1]
Overview of Available Update Patches for Oracle BI Publisher Enterprise 11g [ID 1276869.1]
Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]
BI Publisher 10g RTF Template Changes Alignment Settings for Numbered Lists [ID 1418504.1]
Thanks,
Hussein -
Creating a header for rows/columns in cross-tab with syntax
Hi,
The issue is creating strings for rows or columns' headers. How can I create a formula field which contains more than one seperate string. Such as "aaa", "bbb" and "ccc" are headers and they should be in seperate columns. In short, they will behave like characteristics of one of my query's field but they are just headers of the columns.
..............aaa...bbb...ccc....
row1.......x.......x........x.....
row2.......y.......y........y.....
Also there is another issue about the formulation again. Is there any operator that does the same job as " \n" which is used in C languages to break the line?
before:
aaabbb
after:
aaa
bbbHi Carl;
Firstly, thanks for answering my question. To explain my problem there are two options ahead(for my first question); first one is writing down the actions step by step, the second one is posting an image file(jpeg etc) to visualize it. I think the first one will be enough. If not tell me
Step 1- Create a cross-tab and right click and select cross-tab expert.
Step 2- Click the button "New Formula" and write down any word(such as "Sales") between two -"- sign to make it string.Then save and close.
Step 3- Drag and drop the created formula to "columns" section and fill the other necessary sections with your database's(such as xtreme.mdb which is famous for crystal users) fields.Don't forget to add another column value to "columns" section, since our formula has no link to database.
Step 4- Then click OK to save the changes and lets preview the cross-tab.The result will have one top column and his child or children(that depends on your data). And this top column is behaving like a header not a field.
Now turn the second step but write down a formula for 2 columns or more.For exmple "Sales" and "Profit".So the result will have 2 top columns and their child/children.
My question is "what is the formula for 2 or more columns?"
Also I couldn't get the answer for my second question. What is the meaning of expressions "\c" and ChrW(13)?
Edited by: diabolus on Oct 30, 2009 9:39 AM -
Display values for logical columns with several physical sources
Hi all,
I'm enocuntering some strange behaviour with the values displayed for a column (when we want to add it a as a filter, and in the dialogue box select 'Show All' values).
Basically the logical column is mapped against several physical columns as the base fact table is aggregated to different levels. Additionally, one column in the fact tables has an attribute value, and these vary between the aggregated and non-aggregated table. This is not a problem.
In the production environment, when we display the all values in the filters prompt for this column we are seeing the values being taken from one fact table. Naturally this means that not all the values possible for this column are being shown (i.e. values from the aggregated fact tables are missing). Now in one of our test environment where those fact tabels have additional data loaded, the values are being taken from one of the other fact tables. Unfortunately it is not necessarily the fact table with less data.
My questions are:
a) What dictates which fact table the server will use when the query in Answers doesnt use any dimensions (i.e. we are selecting just this attribute and selecting all the possible values by which it can be filtered)?
b) Is there a way of obtaining all the values from the differente physical columns? I.e. that the display values shows the values of that logical column across all the physical fact tables? Maybe we would need to model that attribute as a logical dimension just for that attribute? Im not really sure this would work, as at the physical level the join between the dimension and fact would still have to go to only one particular fact table.
Any info or help is much appreciated.Hi,
Aggregate tables exist at physical level and are created by ETL procedures. Although i am aware that the dimension come into play when the application needs to decide which source aggregate table to use, it is not an issue here as in our query we are not involving dimensions. We are selecting just this one columen, and then the filter option on this column, then in the dialogue box we select 'All Choices', only the values from one of the source tables is being shown.
This is not a probelm within reports, i think it is a product limitation in that in that option to list all values a user can filter by, it is not possible to display all the values from the different fact tables to which that column is mapped.
Has anyone else encountered this behaviour? -
Ragged right with Flat file in SSIS for last column
When I am importing from Flat file to OLEDB using DATA flow in SSIS,
It has fixed length for each column
but last column had length of 20
So I used for last column as {LF} and input width 0 & output width 20
but facing problem of last column has showing more data in preview so I am missing some some records
May I get any solution
ThanksHi Madhu,
I totally agree with Visakh. If your row delimiter is {CR}{LF}, you need to consider the two placeholders for the delimiter when defining the column length, that is to say you need to set the length of the last column to 22.
Regards,
Mike Yin
TechNet Community Support -
Keyboard Access For a Column in JTable with default editor as JComboBox
I want to get Key board access for a column in JTable.
The user should be able to select from a drop down list for the column with default
editor set as JComboBox.
Presently,it works fine with mouse,also I am able to focus it with Keyboard using
ALT+Up keys,but how to make drop down list appear.
Plz help,it's urgent.
Thanks in AdvanceHi,
In addition to setting DO_SUM = 'X' you need to specify function in H_FTYPE field. It should be set to 'AVG' in your case.
ls_fielcat-do_sum = 'X'.
ls_fieldcat-h_ftype = 'AVG. -
Possibly a very basic question but I am going nowhere without a solution. I have set up a spreadsheet in Numbers but it won't give me sums for chosen columns. I have viewed the run through videos and used the formula but nothing happens apart from giving a figure of zero or a red arrow. The sum icon in the bottom left hand section of the window does not highlight or show any total as I understand from the video that you can drag whatever total is here onto the relevent position on your spreadsheet. I have Numbers 09 version 2.3 (554). Can anyone advise. Thanks.
Hi Sohojools,
To sum a column, use a formula such as this one in Cell A6
Type this in a cell below your data:
=SUM(A2:A4) or whatever range of cells you want to sum. The easy way is to type:
=SUM(
and then drag or shift-click to select the range of cells. Close the formula with a final bracket ")".
The sum icon in the bottom left hand section of the window does not highlight or show any total
To see the sum (and other simple statistics) in the bottom left, select a range of cells. That tells Numbers which cells you are refering to.
The videos are good, but the Numbers'09 User guide, and the Formulas and Functions User Guide are better. Download them from the Help Menu in Numbers.
Regards,
Ian. -
Sorting a Collection with dynamic columns using a custom compare function for multiple columns
I need help and ideas on how to sort a ListCollectionView. My problem is complicated by 3 requirements-
1. The column values contain HTML tags that needs to be removed before sorting (use custom compareFunction to strip HTML)
2. The columns are dynamic, so dataField names are not known at compile time (need a single compareFunction for all columns)
3. The data is used in an AdvancedDataGrid so multi-column sorting is required
I have figured out how to solve any 2 of the 3 requirements. However, I am having difficulties supporting all 3 requirements.
Any help or ideas would be greatly appreciated. Thanks.After playing with this some more I think I've figured out a solution. This seems to work in initial testing. Also, there is not a need to capture the current sort column in the headerRelease event which many offered solutions suggested. Another benefit to this solution is that keyboard initiated sorting is handled also. Whereas the headerRelease event is only triggered by a mouse click on the column header and special handling is required if the user uses the keyboard to access the column header.
One point that I don't understand is how ascending/decending order is determined. Behavior seems to be different between a single SortField versus multiple SortFields. Notice how the compareResults are handled for the different situations. Anyone out there know why???
private function colSortCompareFunction(obj1:Object, obj2:Object, fields:Array = null):int{
var compareResults:int = 0;
var newObj1:Object = new Object();
var newObj2:Object = new Object();
// should not be a condition that is met
if (_dataProviderDetails.sort.fields == null) {
var s:Sort = new Sort();
var f:Function = s.compareFunction;
return f.call(null, obj1, obj2, fields); }
// when a single column is selected for sorting
else if (_dataProviderDetails.sort.fields.length == 1) {
var firstFld:SortField = _dataProviderDetails.sort.fields[0];
newObj1[firstFld.name] = stripHTML(obj1[firstFld.name]as String); newObj2[firstFld.name] = stripHTML(obj2[firstFld.name]
as String);
compareResults = ObjectUtil.compare(newObj1[firstFld.name], newObj2[firstFld.name]);
return compareResults; }
// when multiple columns are selected for sorting
else {
for each (var fld:SortField in _dataProviderDetails.sort.fields) {
newObj1[fld.name] = stripHTML(obj1[fld.name]
as String); newObj2[fld.name] = stripHTML(obj2[fld.name]
as String);
compareResults = ObjectUtil.compare(newObj1[fld.name], newObj2[fld.name]);
if (compareResults != 0) {
if (fld.descending) {
return compareResults * -1; }
else {
return compareResults; }
return compareResults; }
Does anyone see any problems with this solution?
NOTE: stripHTML(String) is a simple function using regular expression to remove HTML tags.
Thx -
BUG for sort column with Oracle 11g and APEX 3.2
I have BUG in Report region(Oracle 11g and APEX 3.2). if i have more than 746 Char for my column's value and i want to sort them, this error appear
Report error :
ORA-00910: specified length too long for its datatype.
But in an other environement in Oracle 10g and apex 3.2, with the same data. I have no BUG.
Somebody have an idea for a possible solution to this problem???Again, I may just be wasting your time...but if I have XDB problems...especially with the password, I do the following:
1. Change your working directory to $ORACLE_HOME/apex.
2. Start SQL*Plus and connect to the database where Oracle Application Express is installed as SYS.
3. Run apxconf.sql
> @apxconf
4. When prompted, enter a password for the Oracle Application Express Admin account.
5. When prompted, enter the port for the Oracle XML DB HTTP server. (default port being, of course,8080).
6. Unlock the ANONYMOUS account
> ALTER USER ANONYMOUS ACCOUNT UNLOCK;
7. If needed, I do the SETHTTPPORT command mentioned before...
Since I'm using the Oracle 11g, with embedded PL/SQL server, I have no idea if this is the same for 10g us OHS?
Hope that helps!
KSL.
Maybe you are looking for
-
Filter at universe level is not working
Hi all, I am using a filter at Universe level to exclude a list of customers and a couple of customers within the date range. This works ok for a list of customers, but customers in the date range are not excluded. Here is my filter in Universe: @Sel
-
Invoking a mapping from another DB in a process flow
Hi experts, have anyone try to invoke/execute an OWB mapping from another database in a process flow? Is it possible to do that? My process flow (in the Staging db) scenario is to execute several OWB mapping in the Staging db, then the final step is
-
Hi all, We are submitting a concurrent request which runs a report. the report errors out giving 101511 non-ORACLE exception. The major coding is done in the before report trigger which is purely just based on pl/sql. Which is populating data in a te
-
How do I re-download Adobe Photo Shop Elements 11?
My computer crashed; how do I re-download Adobe Photo Shop Elements 11?
-
Script: chrome://tavgp/content/libs/include.js:595