How to add a line selector
HelloI'm usign a latest version of Application Express 3.1.1.00.09 how do I add a line selector in this version in older versions that I use to make the report can be updated and add a line here selector in this version, I think that we have any option please suggest me adding a line selector
Thank you
Sudhir.
Hello
In the header of your column, you can put
Kind regards
Dimitri
----------------------------------
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
AWARDS: Don't forget to mark correct or useful posts on the forum, not only for my answers, but for everyone!
Tags: Database
Similar Questions
-
How to add multiple lines when the button is clicked
How to add multiple lines when the click on button now is just add a row .plz give me idea how... waiting for answer
/ public final class screen extends MyScreen
{
/**
* Creates a new object of MyScreen
*/
ObjectChoiceField obj1 obj2, obj3, obj4.
Table of String() = {'101 ', ' 102'};
String of shadow [] = {"Shade1", "Shade2"};
Rolls of string [] = {'101 ', ' 102'};
String cutting [] = {"100-150", "150-200"};
Chain of selectedindex1, selectedindex2, selectedindex3, selectedindex4;
LabelField lbl1 lbl2, lbl3, lbl4;
GFM LinedGridFieldManager;
HFM HorizontalFieldManager, hfm1, hfm2 hfm3;
VerticalFieldManager vfmMain;
public MyScreen()
{
Set the displayed title of the screen
hfm1 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
hfm2 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
hfm3 = new HorizontalFieldManager (HorizontalFieldManager.NO_VERTICAL_SCROLL |) HorizontalFieldManager.NO_VERTICAL_SCROLLBAR);
HFM = new HorizontalFieldManager (HorizontalFieldManager.FIELD_RIGHT);
vfmMain = new VerticalFieldManager (Manager.NO_VERTICAL_SCROLL |) Manager.NO_HORIZONTAL_SCROLLBAR);
obj1 = new ObjectChoiceField ("", graph, 0, FIELD_LEFT);
obj2 = new ObjectChoiceField ("", blind, 0, FIELD_LEFT);
Obj3 = new ObjectChoiceField ("", rolls, 0, FIELD_LEFT);
Obj4 = new ObjectChoiceField ("", cuts, 0, FIELD_LEFT);
LBL1 = new LabelField("");
LBL2 = new LabelField("");
lbl3 = new LabelField("");
lbl4 = new LabelField("");
ButtonField btnAdd = new ButtonField ("ADD", FIELD_RIGHT);
GFM = new LinedGridFieldManager (4, LinedGridFieldManager.VERTICAL_SCROLL);
hfm1.setMargin (20, 0, 10, 0);
hfm1. Add (new LabelField ("Chart"));
hfm1. Add (obj1);
hfm1. Add (new LabelField ("Shade"));
hfm1. Add (obj2);
hfm2. Add (new LabelField ("Rolls"));
hfm2. Add (Obj3);
hfm2. Add (new LabelField ("Cuts"));
hfm2. Add (Obj4);
HFM. Add (btnAdd);
GFM. Add (new LabelField ("Chart"));
GFM. Add (new LabelField ("Shade"));
GFM. Add (new LabelField ("Rolls"));
GFM. Add (new LabelField ("Cuts"));
vfmMain.add (hfm1);
vfmMain.add (hfm2);
vfmMain.add (hfm3);
vfmMain.add (hfm);
vfmMain.add (new SeparatorField());
vfmMain.add (gfm);
Add (vfmMain);
btnAdd.setChangeListener (new FieldChangeListener()
{
' Public Sub fieldChanged (field field, int context) {}
TODO self-generating method stub
selectedindex1 = chart [obj1.getSelectedIndex ()];
selectedindex2 = shade [obj2.getSelectedIndex ()];
selectedindex3 = rolls [obj3.getSelectedIndex ()];
selectedindex4 = cuts [obj4.getSelectedIndex ()];
While (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
{
LBL1. SetText (selectedindex1);
LBL2. SetText (selectedindex2);
lbl3. SetText (selectedindex3);
lbl4. SetText (selectedindex4);
GFM. Add (LBL1);
GFM. Add (LBL2);
GFM. Add (lbl3);
GFM. Add (lbl4);
}
}
});
}
}Hi Piya,
I run your code, and according to your logic that it works correctly.
It's adding that line only once because according to your logic that one line can be added to MDT, if you do not want to add line on each click on the button, follow these steps:
selectedindex1 = chart [obj1.getSelectedIndex ()];
selectedindex2 = shade [obj2.getSelectedIndex ()];
selectedindex3 = rolls [obj3.getSelectedIndex ()];
selectedindex4 = cuts [obj4.getSelectedIndex ()];Lbl1 LabelField = new LabelField("");
Lbl2 LabelField = new LabelField("");
LabelField lbl3 = new LabelField("");
LabelField lbl4 = new LabelField("");
If (LBL1. GetText(). Equals("") | LBL2. GetText(). Equals("") | lbl3. GetText(). Equals("") | lbl4. GetText(). Equals(""))
{
LBL1. SetText (selectedindex1);
LBL2. SetText (selectedindex2);
lbl3. SetText (selectedindex3);
lbl4. SetText (selectedindex4);
GFM. Add (LBL1);
GFM. Add (LBL2);
GFM. Add (lbl3);
GFM. Add (lbl4);
} -
Mr President
Jdev worm is 12.2.1
How to add two lines when the second row is not visible, but also gets the first data line too?
I want to add two lines like below picture, but want the second to remain invisible.
I asked this question but my way of asking was wrong, that's why for me once again.
Concerning
Try to follow these steps:
1. in the database table to add the new column "JOIN_COLUMN" and add the new sequence "JOIN_SEQ".
2. Add this new column in the entity object. (You can add this in entity object by right clicking on the entity object and then select "Synchronize with database" then the new column and press on sync)
3. in your bookmark create button to create only one line NOT 2 rows.
4 - Open the object entity--> java--> java class--> on the entity object class generate and Tick tick on the accessors and methods of data manipulation
5 - Open the generated class to EntityImpl and go to the doDML method and write this code
protected void doDML(int operation, TransactionEvent e) { if(operation == DML_INSERT) { SequenceImpl seq = new SequenceImpl("JOIN_SEQ", getDBTransaction()); oracle.jbo.domain.Number seqValue = seq.getSequenceNumber(); setJoinColumn(seqValue); insertSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn()); } if(operation == DML_UPDATE) { updateSecondRowInDatabase(getAttribute1(), getAttribute2(), getAttribute3(), getJoinColumn()); } super.doDML(operation, e); }
private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn) { PreparedStatement stat = null; try { String sql = "Insert into table_name (COLUMN_1,COLUMN_2,COLUMN_3,JOIN_COLUMN, HIDDEN_COLUMN) values ('" + value1 + "','" + value2 + "','" + value3 + "','" + joinColumn + "', 1)"; stat = getDBTransaction().createPreparedStatement(sql, 1); stat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { try { stat.close(); } catch (Exception e) { e.printStackTrace(); } } } private void updateSecondRowInDatabase(Object value1, Object value2, Object value3, Object joinColumn) { PreparedStatement stat = null; try { String sql = "update table_name set column_1='" + value1 + "', column_2='" + value2 + "', column_3='" + value3 + "' where JOIN_COLUMN='" + joinColumn + "'"; stat = getDBTransaction().createPreparedStatement(sql, 1); stat.executeUpdate(); } catch (Exception e) { e.printStackTrace(); } finally { try { stat.close(); } catch (Exception e) { e.printStackTrace(); } } }
-
How to add more line by line?
Hi all
Please let me know how to add addition line by line as the title:
DEPTNO num1, num2, num3 total num
1100 20 30
1200 20 10
1300 40
1400 30
your suggestion would be greatly appreciated.Something like that?
SELECT deptno,num1,num2,num3, num1+num2+num3 "Tot" FROM ....
-
How to add a line break in shortDesc?
How to add a line break in shortDesc?Hey Danny,
I think you can't... but I did two work around to achieve this goal:
1. in IE7 (not Mozilla Firefox) If you type a space between the words will be automatically pass the new line like:
shortDesc = "firstWord... spaces... Second word"/ >2. you can use popup like a ToolTip like:
Sameh Nassar
-
How to add directional lines on a map in a phone book to show the destinations?
Directions in iPhoto do not match the real software. How do I add directional lines on a map to show where we left and where are final destination will be?
What version of iPhoto do you use? Or you use 'Photos for Mac', as you post the pictures to Mac forum?
In iPhoto 9.6.1 between that you can add markers place lines by activating the lines in the options for the cards. The value 'Lines' 'Right' or 'curve '.
-
How to add a line in Indesign CS4
In Indesign 2.0, add that a line is Document.Lines.add
But in CS4, there is no method of Lines.Add,
So, how do you add a line in ID CS4?
FlexMitchell wrote:
In Indesign 2.0, add that a line is Document.Lines.add
But in CS4, there is no method of Lines.Add,
So, how do you add a line in ID CS4?
In InDesign 2.0 . Lines collection was for graphic lines and . TextLines for lines of text. ID CS1 everything was changed - . GraphicLines has information about the graphic lines and . Lines collection contains information on lines of text.
Robin
www.adobescripts.com
-
MaxL script syntax: how to add comment lines?
How can I add comment lines to the MaxL scripts? REM did not work, "did not work.
http://download.Oracle.com/docs/CD/E10530_01/doc/EPM.931/html_esb_techref/MAXL/DDL/utils/Shell/syntax.htmHello
You add comments and C++ with / * for beginning and * / for the commentary to the end.
Welcome them
Kevin -
How to add a line in a list of control number?
I've created a checklist in number and the model come with 27 lines automatically. I have now completed in each of them and need more lines, as my list grows. However, when I right click, options to add lines Above/Below are faded. Why I can't use them? Is there a limit or have I missed something?
Hi dorotkab,
You probably have a filter applied. Remove the filter and you should be able to add lines.
Another way to add lines is drag the '=' at the bottom left.
Quinn
-
Hello
I know this is very basic, I ask, but I'm going crazy trying to find it.
I want to draw a blank line between to LabelFieds.
Something like:
Label1
Label2.
I know there is a function that does this, but I can't remember it and I am not able to find it in google.
Thank you!
VFM. Add (new SeparatorField (Field.NON_FOCUSABLE));
-
How to add a line break in the message
Hello
I want to add a new line in the message.
So, it looks like this.
Test: line1
Line2
This message is based on the element of text field that is returned by a stored procedure.
I tried with Chr (10), too. Nothing works. Can someone help me with this?
https://Apex.Oracle.com/pls/Apex/f?p=9086:10
My problem was
has been printed as it is somehow.This problem is fixed inside the stored procedure as below.
apex_application.g_print_success_message is capable of printing at the APEX.
Thanks to all who have helped me on this.
p_result: = ' ERROR: failed to update Bugno ' | v_bugno |', question ID ' | p_issue_id | »
'|| SQLERRM;apex_application.g_print_success_message: = p_result;
-
How to add several lines to the CreateWithParameters method
Hello
can someone tell me how to insert several rows in a table by using the CreateWithParameters method, which I use in a taskflow.That's why you get a null pointer...
Add the iterator in this page or call the method in the second page... both should work... :) -
How to add only lines that are checked in a form?
I have a number of lines in a form. Some people have a checkmark field and others do not. I want to create two calculated fields. One to give me the totals if the line is activated and the other to give me the totals if line is not checked. I can't understand how to do this.Hello.
You should have followed the suggestion of Francis and use the possibilities of computing built into the forms.
Approach:
-Create a form element in the block where you have your field to summarize.
-Put the 'calculation' formula mode
-As a formula, put something likeDECODE(:BLOCK.CHECKBOXITEM, 'Y',:BLOCK.ITEMTOSUMUP, 0);
where "Y" is the value of the cehckbox when checked.
-Create a block of control to the "Single Document" property value to true
-put a formula-else that newly created the block, the value 'Calculation Mode' to 'Summary', block to summarize your data block element to summarize in the previous formula-column created.
-But, but not least, set the property to "Question everything" block which your article to sum up to 'true '.She's. No need for any triggers or the same logic to take on a loop on the block.
I hope this helps.
-
How to add the line of separation in the horizontal field Manager
I want to get as
name | Age | year
all this in a horizontalfield Manager, how to do.
I used the field separator, comes to the entire screen, such as
name | Age | year
| |
| |
| |
How do I solve this problem
Thank you
You can also do this by substituting your HorizontalFieldManager sublayout() method.
As:
h = new HorizontalFieldManager() { protected void sublayout( int maxWidth, int maxHeight ) { int width = Display.getWidth(); int height = 30; //height of the manager super.sublayout( width, height); setExtent( width, height); } };
Concerning
Bika
-
How to add lines of text information in the settings?
Guys,
I'm trying to customize a few things about Motion 5 and really I was wondering how to add these lines of text in the settings?
Tried to google it, but without success.
I think you need to learn how * write * FxPlug effects plugins. You cannot add these labels/buttons on the move as it is. What I usually do, is create a platform > pop up widget and use remove the "Snapshot" texts... "(and usually replace it with a series of quadratins (---) to create a line of separation.) To help you, you must have a 'sex' you can show/hide with opacity (and a rig box) which displays the help text.
Maybe you are looking for
-
I recently bought 7plus Tablet and it conect WiFi great but when I turn it off and turn it back on I need to set the password for WiFi again. My wife has the same kind of Tablet, but has not this problem isn't there something I can do. Thank you
-
SBS 2008 Migration to Server 2008 R2
Need to a company full of Windows SBS 2008 R2 Promo DC Server 2008 R2 to join 2008 the SBS domain. SYSVOL and netlogon have not been replicated Cant DCpromo SBS 2008 DC out
-
I can't find a compatible video driver.
need a compatible video driver, for windows 8 on dell optiplex 280 desktop computer.
-
Have CC and LR CS6 photography, cannot enter serial for CS6 more
A few months ago, I bought LR CS6 with serial number. I installed on 2 machines, and it asked me to connect and would identify my purchase very well.I just bought CC photography Plan so I can get the latest updates LR CC and CC in Photoshop.So disabl
-
ADFContext WARNING memory leak
We are seeing the warning below the newspaper too often. (Build JDEVADF_11.1.1.7.2ADF - FAREL8 - BP_GENERIC_131030.1412.6661.3)< oracle.adf.common > < ADFContext > < getCurrent > < automatically a DefaultContext of getCurrent initialization.The calle