Delete rows in Pages in a table for iOS
I created a table in Pages for iOS, I am trying to delete a row within tables. How do I delete a row or rows?
Thank you Picas for your response. I already knew and tried your suggestion. What failed to clarify is that I am attempting to delete a row in the middle of the table. Using the down/up arrow icon does not delete the row I am attempting to delete. I would appreciate any further suggestions you may have. Thanks again.
Similar Messages
-
How do I delete a file from the Adobe Reader for iOS?
How do I delete a file from the Adobe Reader for iOS?
Read this:
http://forums.adobe.com/thread/1012973?tstart=0 -
Deleting rows by key from several tables
Hello!
One of action of my stored procedure is deleting rows from several tables on a key , that I'm getting through statement :
delete from table3 where key_column in ();
delete from table4 where key_column in ();
commit;
select key_column from Table!
minus
select key_column from Table2
Unfortunately the number of lines mentioned by this statement isn't known in advance .
How do You think , is better way to
-- execute select each time for every delete-statement or
-- create table as select result set and then select again keys for each delete- ststement or
I'm usung 11.2.0.3
Thanks and regards,
PavelBy using : 1.trigger 2. on delete cascade you can achieve this.
OraFAQ Forum: SQL & PL/SQL » delete rows from multiple tables (more than 2 tables)
Regards
Girish Sharma -
How to delete rows in the SQL Server table based on the contents of Excel file
Hello, everyone,
I have an Excel file which contains data for certain dates. I need to load it in a SQL Server table. But before doing that, I need to check if the table already contains data for the dates in the Excel file. If it does, I need to delete those data
first. Not sure what is the best and efficient way to do this. Your help and guidance would be much appreciated.
Thank you in advance.there are multiple ways of doing this
Fastest method would be below
1. Have a data flow task using excel source. Then add a OLEDB destination to dump the data to a staging table
2. Have a Execute sql task to delete data from your actual table based on staging table data. The query would look like
DELETE t
FROM YourTable t
WHERE EXISTS (SELECT 1
FROM StagingTable
WHERE DateField = t.DateField)
3. Have another execute sql task to do final insert like
INSERT YourTable (Col1,Col2,...)
SELECT Col1,Col2,..
FROM StagingTable
the above operations will be set based and faster
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Delete rows on basis of other table
I am trying to delete records from table PS_BUN_CM on basis of table PS_BUN_UPDATE ...
below is the select statment which i want to convert to delete ... Please help
select * FROM PS_BUN_CM a
inner join PS_BUN_UPDATE c on a.MAP_ID = c.MAP_ID
where a.ps_map_id in ('2400') and (a.las_name = 'NA' or a.las_name = 'na')and (c.LAS_NAME <> ' ');Not sure, how it is deleting all rows at your end. Please see below test
create table PS_BUN_CM(MAP_ID number,PS_MAP_ID varchar2(10),las_name varchar2(100))
Insert into PS_BUN_CM(MAP_ID, PS_MAP_ID, LAS_NAME)
Values(100, '10', 'abc')
Insert into PS_BUN_CM(MAP_ID, PS_MAP_ID, LAS_NAME)
Values(100, '100', 'NA')
Insert into PS_BUN_CM(MAP_ID, PS_MAP_ID, LAS_NAME)
Values(100, '100', 'na')
Insert into PS_BUN_CM(MAP_ID, PS_MAP_ID, LAS_NAME)
Values(1000000, '10022', 'na')
Insert into PS_BUN_CM(MAP_ID, PS_MAP_ID, LAS_NAME)
Values(100, '2400', 'na')
COMMIT
SQL> select * from ps_bun_cm;
MAP_ID PS_MAP_ID LAS_NAME
100 10 abc
100 100 NA
100 100 na
1000000 10022 na
100 2400 na
SQL>
create table PS_BUN_UPDATE(MAP_ID number,las_name varchar2(100))
Insert into PS_BUN_UPDATE(MAP_ID, LAS_NAME)
Values(100, 'xyz')
Insert into PS_BUN_UPDATE(MAP_ID, LAS_NAME)
Values(100, ' ')
COMMIT
SQL> select a.*,length(las_name) from ps_bun_update a;
MAP_ID LAS_NAME LENGTH(A.LAS_NAME)
100 xyz 3
100 2
SQL>
SQL>select a.* from PS_BUN_CM a
2 inner join PS_BUN_UPDATE c on a.map_id=c.map_id
3 where a.ps_map_id in('2400') and (a.las_name='NA' or a.las_name='na')
4 and c.las_name=' ';
MAP_ID PS_MAP_ID LAS_NAME
100 2400 na
SQL> select * from ps_bun_cm a
2 where exists(select 1 from ps_bun_update c
3 where a.map_id=c.map_id
4 and a.ps_map_id in('2400')
5 and (a.las_name='NA' or a.las_name='na')
6 and c.las_name=' '
7 ) ;
MAP_ID PS_MAP_ID LAS_NAME
100 2400 na
SQL> ed
Wrote file afiedt.buf
1 delete from ps_bun_cm a
2 where exists(select 1 from ps_bun_update c
3 where a.map_id=c.map_id
4 and a.ps_map_id in('2400')
5 and (a.las_name='NA' or a.las_name='na')
6 and c.las_name=' '
7* )
SQL> /
1 row deleted.
SQL> select * from PS_BUN_CM;
MAP_ID PS_MAP_ID LAS_NAME
100 10 abc
100 100 NA
100 100 na
1000000 10022 na
SQL> -
Selective Deletion and Data Load from Setup Tables for LIS Extractor
Hi All,
We came across a situation where one of the delta in PSA was missed to load in DSO. This DSO updates another cube in the flow. Since it has been many days since this miss come in our knowledge we need to selectively delete data for those documents from DSO & Cube and then take a full load for the Documents filling the setup table.
Now what will be the right approach to load this data from setup table > DSO > cube. There is change log present for those documents and a few KPI's in DSO are in summation mode.
Regards
Jitendrathanks Ajeet!!!!
This is Sales Order extractor, the data got loaded to ODS just fine, but since the data is coming to ODS from different extractor. Everything is fine in ODS, but not in the cube. Will Full repair request and Full load would it make difference when the data is going to cube? I thought that it would matter only if I am loading to ODS.
what do you mean "Even if you do a full load without any selections you should do a full repair ".
thanks.
W -
DELETED rows from internal table
Hi Experts,
If I delete row/s from an internal table
using the command DELETE ADJACENT DUPLICATES,
is there a way to get these deleted rows.
Thanks in advance.
RoseHi roselie,
1. ofcourse not.
2.hence, before that,
u can declare another internal table,
similar to original,
and use like this.
3. ITAB1[] = ORIGINALITAB[].
regards,
amit m. -
Delete rows from table...Bizarre problem.
Folks
i HAVE this bizarre problem.
I hava a Java class which displays data read into a table with a delete
option by the side of each row.
Now lets assume you have 3 rows in the Table.
abc deleteButton
efg deleteButton
xyz deleteButton
When I click the first delete,that row gets deleted from the table.(perfect...)
Now I have 2 rows.
When I click on the first row,I get the error
'You clicked -1'
java.lang.ArrayIndexOutofBoundsException: -1 < 0.
Can anyone tell me why this is happening even though there are rows in the table.???
ActionListener al = new ActionListener() {
public void actionPerformed(ActionEvent e) {
System.out.println("You clicked row : " + table.getSelectedRow());
javax.swing.table.TableModel model = table.getModel();
Object o = model.getValueAt(table.getSelectedRow(),0);
//System.out.print(model.getValueAt(table.getSelectedRow(), 0));
//System.out.println();
MyDeleteFunction(o.toString());
// Delete row from window.
((DefaultTableModel)table.getModel()).removeRow(table.getSelectedRow());
table.revalidate();
table.repaint();Hi ritu,
This class is called
new DisplayCall_IDTodisconnect(hashTable);
its a long file.
its attached below.
The rows are displayed by reading a hashtable into a vector
and the vector is iterated and appended..
public class DisplayCall_IDToDisconnect {
public static JTable createTable(Vector data, String buttonLabel, ActionListener action){
return createTable(data.iterator(), buttonLabel, action);
public static JTable createTable(
Iterator dataIterator,
String buttonLabel,
ActionListener action) {
DefaultTableModel model = new DefaultTableModel() {
public boolean isCellEditable(int row, int col) {
return col == 1;
model.setColumnCount(2);
while (dataIterator.hasNext()) {
Object[] row = { dataIterator.next().toString(), null };
model.addRow(row);
DefaultTableColumnModel columnModel = new DefaultTableColumnModel();
columnModel.addColumn(new TableColumn(0, 100));
columnModel.addColumn(new TableColumn(1, 80,
new TableButtonCellRenderer(buttonLabel),
new TableButtonCellEditor(buttonLabel, action)
JTable table = new JTable(model, columnModel) {
public void valueChanged(ListSelectionEvent e) {
super.valueChanged(e);
table.setSelectionMode(ListSelectionModel.SINGLE_SELECTION);
return table;
private static class TableButtonCellRenderer implements TableCellRenderer {
final JButton button;
TableButtonCellRenderer(String buttonLabel) {
button = new JButton(buttonLabel);
public Component getTableCellRendererComponent(
JTable table,
Object value,
boolean isSelected,
boolean hasFocus, int row, int column) {
return button;
private static class TableButtonCellEditor
extends AbstractCellEditor
implements TableCellEditor, ActionListener {
final JButton button;
final ActionListener callback;
TableButtonCellEditor(String buttonLabel, ActionListener callback) {
button = new JButton(buttonLabel);
this.callback = callback;
button.addActionListener(this);
public Component getTableCellEditorComponent(
JTable table,
Object value,
boolean isSelected,
int row, int column) {
return button;
public Object getCellEditorValue() {
return null;
public void actionPerformed(ActionEvent e) {
button.getParent().requestFocus();
callback.actionPerformed(e);
static JTable table;
Vector items;
final ClientManager clientMgr;
// Constructor.
public DisplayCall_IDToDisconnect(Hashtable callLegTable,ClientManager clientMgr){
Vector vCSeqnos = displayCSeqNos(callLegTable);
this.clientMgr = clientMgr;
JFrame frame = new JFrame("Disconnect Options");
/*Vector*/ items = new Vector();
Enumeration vEnum = vCSeqnos.elements();
while(vEnum.hasMoreElements()){
items.add(vEnum.nextElement());
ActionListener al = new ActionListener() {
public void actionPerformed(ActionEvent e) {
//System.out.println("You clicked row ,col: " + table.getSelectedRow()+
// table.getSelectedColumn());
javax.swing.table.TableModel model = table.getModel();
Object o = model.getValueAt(table.getSelectedRow(),0);
System.out.print(model.getValueAt(table.getSelectedRow(), 0));
System.out.println();
closeConnection(o.toString());
// Delete row from window too.
((DefaultTableModel)table.getModel()).removeRow(table.getSelectedRow());
table.revalidate();
table = DisplayCSeqNos.createTable(items, "Disconnect", al);
frame.getContentPane().add(new JScrollPane(table));
frame.pack();
frame.show();
} // End Constructor.
public void closeConnection(String s){
/*1. Disconnect the current session*/
this.clientMgr.disconnectCall(s);
/*2. refresh the Disconnect window*/
this.refreshWindow();
public Vector displayCSeqNos(Hashtable callLegTable){
Enumeration eNum;
String str;
Vector v = new Vector();
eNum=callLegTable.keys();
while(eNum.hasMoreElements()){
str = (String) eNum.nextElement();
//System.out.println("Key : " + str + " Value : " + callLegTable.get(str));
v.addElement(str);
return v;
} // End of displayCSeqNos. -
Delete row in report........
i have report, i have to delete row without page loading. i have wrote the application process(on demand). but i dont know how to write the javascript for htmldb items...
my req is when i click the delete button the checked row(using check box) should delete without page load. i use ajax to call the javascript to process the plsql code.
can any one pls help me to modify the below javascript coding....
application process
begin
for i in 1..htmldb_application.g_f01.count
loop
delete from service
where service_code = htmldb_application.g_f02(htmldb_application.g_f01(i));
end loop;
end;
javascript
function get_repd(){
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=REP_D',0);
}thanks and regard.
skud.Hi Skud,
I will have to say your observation is incorrect. The whole purpose of doing the DML via Application Process using ajax technique is to avoid a page refresh, otherwise it would simply be a page level after submit process.
I have just tested and its working as expected, i.e
1. You select one or more records
2. Use the delete button to delete
3. Records get deleted from DB, you get a message
4. Only the report region get refreshed. (However this could delay for a few seconds if the dataset is larger and server is very busy)
If you are however using APEX 4.x you could use dynamic actions to get it done. My work environment is still on 3.x so my solution is using classic method.
If you are still having issue could you please let me know which browser you are using?
Cheers
Ligon -
I have a CORD_LOB_MAPPING table which has a line_of_business as a column
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
D2>DESC CORD_LOB_MAPPING
Name Null? Type
LINE_OF_BUSINESS NOT NULL VARCHAR2(10)
LOB_DESCRIPTION VARCHAR2(100)
LOB_SID NOT NULL VARCHAR2(10)
D2>SELECT LINE_OF_BUSINESS FROM CORD_LOB_MAPPING;
LINE_OF_BU
OPNRCH
OPNWLD
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
I have the following 3 tables:
I want to delete rows from all the 3 tables depending on the follwoing rule.
In all the 3 tables i want to retain those rows whose data is present in CORD_LOB_MAPPING's line_of_business column
All those rows which do not corrospond to the line_of_business in CORD_LOB_MAPPING should be deleted.
For example, in the example given below, i am deleteing all rows from TMP_CORD_OUCS whose line_of_business
does not match with CORD_LOB_MAPPING line_of_business.
In other words, delete all rows which do not belong to OPNRCH and OPNWLD
DELETE FROM TMP_CORD_OUCS TCO
WHERE NOT EXISTS ( SELECT 1 FROM CORD_LOB_MAPPING CLM
WHERE UPPER(TCO.LINE_OF_BUSINESS) = UPPER(CLM.LINE_OF_BUSINESS));
D2>DESC tmp_cord_oucs
Name Null? Type
OUC_CODE VARCHAR2(9)
LATEST_PERIOD NUMBER(10)
OUC_PROCESS_FLAG VARCHAR2(1)
LINE_OF_BUSINESS VARCHAR2(10)
I want to know the delete statement for this table?
Delete all those rows from tmp_cord_rate_ids whose line_of_business is anything except OPNRCH and OPNWLD
DELETE FROM TMP_CORD_RATE_IDS TCRI
WHERE NOT EXISTS (SELECT 1
FROM TMP_CORD_OUCS TCO, CORD_LOB_MAPPING CLM
WHERE TCO.LINE_OF_BUSINESS=CLM.LINE_OF_BUSINESS
AND TCRI.OUC_CODE=TCO.OUC_CODE)
D2>DESC tmp_cord_rate_ids
Name Null? Type
OUC_CODE VARCHAR2(9)
RATE_ID VARCHAR2(5)
RATEID_PROCESS_FLAG VARCHAR2(1)
I want to know the delete statement for this table?
Delete all those rows from tmp_cord_rates whose line_of_business is anything except OPNRCH and OPNWLD
D2>DESC TMP_CORD_RATES
Name Null? Type
RATE_ID VARCHAR2(5)
RATE NUMBER(13,4)
RATE_PROCESS_FLAG VARCHAR2(1)Hi folks,
I will explain again.
I have a table
D2>DESC CORD_LOB_MAPPING
Name Null? Type
LINE_OF_BUSINESS NOT NULL VARCHAR2(10)
LOB_DESCRIPTION VARCHAR2(100)
LOB_SID NOT NULL VARCHAR2(10)
I have a column in cord_lob_mapping as line_of_business.
Now i want to delete rows from all the following 3 tables whose rows do not match up with line_of_business of cord_lob_mapping.
D2>DESC tmp_cord_rates
Name Null? Type
RATE_ID VARCHAR2(5)
RATE NUMBER(13,4)
RATE_PROCESS_FLAG VARCHAR2(1)
D2>DESC tmp_cord_rate_ids
Name Null? Type
OUC_CODE VARCHAR2(9)
RATE_ID VARCHAR2(5)
RATEID_PROCESS_FLAG VARCHAR2(1)
D2>DESC tmp_cord_oucs
Name Null? Type
OUC_CODE VARCHAR2(9)
LATEST_PERIOD NUMBER(10)
OUC_PROCESS_FLAG VARCHAR2(1)
LINE_OF_BUSINESS VARCHAR2(10)
Suppose the cord_lob_mapping table has the following rows in line_of_business
column
Line_of_business
world
universe
Now all rows from tmp_cord_oucs whose line_of_business is not world or universe should be deleted.
Simillarly, all corrosponding rates from tmp_cord_rates and rate_ids from tmp_cord_rate_ids should also be deleted whose line_of_business is not world or universe.
I have included the delete statements for each of the 3 tables. Could anyone of you please verify them to be correct.
delete from tmp_cord_rates tcr
where not exists(select 1
from cord_lob_mapping clm, tmp_cord_oucs tco, tmp_cord_rate_ids tcri where clm.line_of_business=tco.lob_mapping
and tco.ouc_code=tcri.ouc_code
and tcri.rate_id=tcr.rate_id);
delete from tmp_cord_rate_ids tcri
where not exists(select 1
from cord_lob_mapping clm, tmp_cord_oucs tco
where clm.line_of_business=tco.lob_mapping
and tco.ouc_code=tcri.ouc_code);
delete from tmp_cord_oucs tco
where not exists(select 1
from cord_lob_mapping clm
where clm.line_of_business=tco.lob_mapping); -
Replicate deleted rows through Archiver
Hi all
I'm trying to replicate deleted rows from a custom UCM table, but when a record is deleted from the source table, the deleted record doesn't get replicated to the target table through Archiver.
The source archive is setup to export and transfer automatically. Also, the "replicate deleted rows" option is ticked on the source archive and the recommended Create and Modify time stamp columns are selected.
I'm deleting the records through the Configuration Manager applet after creating a view on the table.
I can see that new rows (the deleted record) are added into the "DeletedRows" table but they don't get deleted on the target instance. Am I missing anything else?
Regards,
Alex
Edited by: user8859325 on Jan 18, 2013 2:28 AMHi
I have done other tests and can see that there is first of all a problem with the strSQL = strSQL & " AND PeriodKey = '" & dtePerKey & "'"
in the where clause.
If I execute this SQL request in SQL Developer, I have a non-zero number in the TMP table :
INSERT INTO TMP (SELECT COUNT(*) FROM tDataSeg3 WHERE PartitionKey='749' AND CatKey = '12' AND PeriodKey = to_date('30/04/10'))If I execute the same request through FDM, I have 0 in the TMP table.
Thanks for your help
Fanny -
Keyboard shortcut to delete row or column
OK, I like how you can add rows by a quick couple of key strokes, is there any to delete a row simply using keystrokes?
There is no such built-in shortcut but, as it was written a lot of times, you may add your own ones thru:
The menu item is named "Delete Row"
You may also define one for
"Delete Rows"
"Delete Column"
"Delete Columns"
Yvan KOENIG (from FRANCE mercredi 25 février 2009 14:52:26) -
BPM Object Presentation - array items - (add / delete rows dynamically)
Hi,
We have a BPM Object presentation which uses a 'group' inner object to display ROWS of data. The presentation has an 'array0' created by default to handle the 'group' of rows. It also has the '+' and '-' buttons by default.
There is a field at the upper level which shows the 'sum' of values in individual rows. It needs to 'REFRESH' when an add (+) or deletetion (-) or rows happen.
But we see that all the controls (text boxes etc which are wired to the 'inner' bpm object of the group and the +/- buttons are one unit 'array0'. And the only method if at all, is an 'Event Listner' which is not showing any methods related to BPM Object.
Can anyone help us with a clue as to how to handle the '+' and '-' events or wire the 'array/group' events to code - any clue with 'events'?
This is a little urgent as it is an issue and we need to fix the same. Appreciate any quick responses/clues.
Thanks in advance,
-user8702013.The SUM field needs refresh() method to be called to reflect the new value whenever we are adding/deleting rows.
To call this method for to show the reflection we have to declare a method on BPM object level which receives a argument of type ‘Fuego.Util.GroupEvent’, then in this method you can have your logic(here refresh() method is required to show new value on deletion/addition, hence this method is being called). This method can then be wired (it shows up) to the 'Event Listener' of the group/array.
The newly created method will be called whenever a new row is added/deleted (Event will be fired hence method call). -
WEB PAGE'S LOADING INTO AN AIR FOR iOS PROJECT
Hi!
I have a complicated problem. I try to find a solution everywhere but I didn’t find anything.
I’m creating a project Air for iOS with Flash CS5 and Flash CS6. I need to find somebody that know how to upload a web page inside an app.
I try to explain better. There is yet a task for upload an html link, but it just work in a new browser window. In this way, every time I want to see a web page, the app will be close. Is it possible to import all the web page inside the Air for ios project, and not in an external window?
I'd like the result is like this:
Thanks a lot.hi....
i used StageWebView class and i wrote this code:
var webView:StageWebView = new StageWebView();
webView.viewPort = new Rectangle( 0, 0, this.stage.stageWidth, this .stage.stageHeight);
webView.stage = this.stage;
webView.loadURL( "http://www.adobe.com" );
The web page opens correctly without using the browser but it opens into all project's frames.
Is it possible to open the web page only in the frame one (for example) ????
Thanks a lot!!!!!!!!!!!!!!!!! -
What is the keyboard shortcut for "delete row" in a table?
What is the keyboard shortcut for "delete row" in a table within a pages document?
Click on the row number to select the entire row. Right-click, and select Delete Row from the menu. There is no keyboard shortcut.
Maybe you are looking for
-
Time out parameters for ABAP and JAVA instance
Hello All, We are looking for Time out parameters for our ABAP and JAVA instances. As users are complaining that they are getting time out error while they are trying to access Cprojects from Portal. I was able to check/collect the ABAP instance para
-
Does anyone else have this problem
This is going to sound really stupid but its been driving me crazy. I have high cheek bones which is usually a plus however I have noticed when I am talking on a call.. more times then not the caller can't hear me.. the reason it seems is while talki
-
I have a problem to use EL to display nested properties. suppose I have a beanA, and beanB; beanA contains beanB, and beanB has property propA. if I want to display propA, I can use <h:outputText value='#{beanA.beanB.propA}'/> however if beanA has ot
-
How Can I Change Default Mail Account in Mail Application?
I have 2 Gmail accounts. Gmail1 and Gmail2. When I changed the password of my Gmail1 account - which used to be my default mail account - it changed in the Mail application so that now Gmail2 is my default mail account. I know that usually you can go
-
Access Files on My Samsung Continuum from my Mac
Hello, How can I access my files on my Samsung Continuum from my mac computer? Samsung says that my device cannot be mounted: http://ars.samsung.com/customer/usa/jsp/faqs/faqs_view_us1.jsp?PAGE_GBN=faqs_search&SITE_ID=22&PG_ID=0&AT_ID=342136&PROD_SUB