Remove data from several tables
I want to delete the data of all tables in this database which having device_id = "A1".How to do it. 2 questions heres
(1) there are about 40 tables of the database and do not know what table contained the device_id field.
(2) we have several such deviced_id should be deleted, for example device_id = 'A1', or device _id = "A2", "A3". can sql read this info from a table and the process? Thank you
Look at this example
SQL> create table t1 (device_id varchar2(2));
Table created.
SQL> create table t3 (device_id varchar2(2));
Table created.
SQL> insert into t1 values('A1');
1 row created.
SQL> insert into t1 values('A');
1 row created.
SQL> insert into t3 values('A1');
1 row created.
SQL> insert into t3 values('B');
1 row created.
SQL> commit;
Commit complete.
SQL> select * from t1;
DE
--
A1
A
SQL> select * from t3;
DE
--
A1
B
SQL> select table_name from all_tab_columns where column_name='DEVICE_ID';
TABLE_NAME
------------------------------
T1
T3
SQL> DECLARE
2 CURSOR my_cur
3 IS
4 SELECT table_name
5 FROM all_tab_columns
6 WHERE column_name = 'DEVICE_ID';
7 BEGIN
8 FOR MY_REC IN MY_CUR LOOP
9 --DBMS_OUTPUT.PUT_LINE('delete from '||my_rec.table_name||' where device_id=''A1''');
10 EXECUTE IMMEDIATE 'DELETE FROM '||my_rec.table_name||' WHERE device_id=''A1''';
11 END LOOP;
12
13 END;
14 /
PL/SQL procedure successfully completed.
SQL> select * from t1;
DE
--
A
SQL> select * from t3;
DE
--
B
SQL>
- - - - - - - - - - - - - - - - - - - - -
Kamran Agayev a. (10g OCP)
http://kamranagayev.WordPress.com
Tags: Database
Similar Questions
-
Reading data from several tables on Apex
Hi all
My apologies if the below question has been answered already, just that I couldn't find the relevant discussion.
I have an interactive report I want to use to display data in 2 tables:
Table 1 about 10 columns but I want to just see 3 columns, Field1 and Field2 field3.
Table 2 has about 5 columns and I want only showing 2 of these columns (Column1 and Column2) on the same report with columns in table 1 above.
I need my report to look like this: field1, Field2 field3 Column1 Column2
FROM table1, table2
I tried the example above and it seems to not work, can I please get assistance on how to achieve this.
Thanks in advance.
Hello
Thanks for your reply, I actually found and answer the question.
I wanted to display the data in 2 tables (views) distinct have no joints, and so therefore I couldn't join them with a join condition.
What I did was created a dummy field on the two tables with similar values attached tables using these dummy fields and it works perfectly.
Thank you.
-
Export data from several tables
Hello
I use the Data Export utility in SQL Developer 4.0.1. There is an option to choose a list of tables I want to understand, however in my case, I can get the list of tables by running a query against the USER_TABLES and applying some NOT LIKE filters. How to move this list to the export utility.
Is it possible to do so.
for example
SELECT table_name from user_tables WHERE NOT (table_name LIKE 'DOD%' OR table_name LIKE 'DAY%' OR table_name LIKE '%_HIST');
Whatever the result I get is a list of the tables, that I need to export.
Kind regards
Vikram R
You can not.
But you can add these tables to a cart (see view > Cart) and passing to the export utility.
-
Getting data from several tables
Hello
I started a few days working with Oracle TopLink, and since yesterday, I came across a problem that I can not find a solution, so I hope that someone will direct me in the right direction with this one... I'm using the tutorial provided by Oracle [http://www.oracle.com/technology/products/ias/toplink/doc/11110/tutorial/index.htm].
Assuming I want to get the most effective possible , the following data (* only * these data): first_name_of_employee, last_name_of_employee, number_of_phones_of_employee.
The Employee and phone tables are involved, table phone has an EMP_ID field that points to the field of the employee EMP_ID. How could I get such data for all employees? The first two pieces of data are pretty easy to get, but get one final turned out to be more difficult than I imagined...
Any help will be most appreciated.
Thank you
VladYou can probably use a ReportQuery and Expressions for this query. In TopLink you can do something you can do in JPQL using Expressions, like our support JPQL uses Expressions. To get the number of phones, you can use a count() on the id of the employee's phone with a groupBy to id of the employee. Get back the name and the name can be tricky depending on your database because I think that you can select return values that groupBy, you might try grouping by first and last name as well.
that is something like:
The ExpressionBuilder builder = new ExpressionBuilder();
Query ReportQuery = new ReportQuery (Builder, Employee.class);
query.addAttribute ("firstName");
query.addAttribute ("lastName");
query.addCount (builder.anyOf("phones").get ("id"));
query.addGrouping ("id");
query.addGrouping ("firstName");
query.addGrouping ("lastName");---
James: http://www.eclipselink.org -
Hello. Is it possible to export data from a table in Oracle using SQL Loader? If Yes, can you tell a good examples?
Hello
Hello. Is it possible to export data from a table in Oracle using SQL Loader?
No, with SQL * Loader, you can load data from external files into tables not export.
coil c:\temp\empdata.txt
sqlplusabc.sql (assumes that abc.sql runs select * from emp)
spool offIt cannot work like this, because the declaration of the COIL is not recognized outside the SQL * Plus the term.
But, you can include the statement of the COIL in abc.sql like this:
spool c:\temp\empdata.txt select * from emp; spool off
Then, you just have to run the SQL script as follows:
sqlplus
@abc.sql However, I advise you to use Oracle SQL Developer, this is a free tool and with it you can export a Table in several types of format (html, xml, csv, xls,...).
Please find attached a link to this tool:
http://www.Oracle.com/technetwork/developer-tools/SQL-Developer/Overview/index.html
Hope this helps.
Best regards
Jean Valentine -
How to export data from the table with the colouring of cells according to value.
Hi all
I use jdeveloper 11.1.1.6
I want to export data from the table with a lot of formatting. as for color cells based on value and so much. How to do this?
You can find us apache POI-http://poi.apache.org/
See this http://www.techartifact.com/blogs/2013/08/generate-excel-file-in-oracle-adf-using-apache-poi.html
-
Is it possible to see/get the data from the table to a dump file
I have files dmp generated using expdp on oracle 11 g...
expdp_schemas_18MAY2013_1.dmp
expdp_schemas_18MAY2013_2.dmp
expdp_schemas_18MAY2013_3.dmp
Can I use a settings file given below to get the data from the table in the file sql or impdp the only option to load the data of table in database.
VI test1.par
USERID = "/ as sysdba".
DIRECTORY = DATA
dumpfile=expdp_schemas_18MAY2013%S.dmp
SCHEMAS = USER1, USER2
LOGFILE = user_dump_data.log
SQLFILE = user_dump_data. SQL
and impdp parfile = test1.par.
No,
DataPump cannot retrieve a dumpfile data in a flat file.
Dean
-
Is there a way to remove data from a combination of individual Member?
Hello
Is there a way to remove data from a combination of members particlular, as if I want data for the month of sales for the month of May to remove and keep the rest how to do?
Thank you.You don't mention if this is a cube ASO or BSO and which version you're on. If OSI, then a script to calc using a fix to erase the part of the data is what you want. There are references to him by the other prople. If it's an ASO cube, then you use a MaxL command with MDX syntax to make clear assuming you're on version 11.1.1.X or superior. If you are on a lower version, it becomes more complicated.
-
Inserting data from one table to another table
Hello
I have the following SQL where I am updating a table by adding new data from another table, but without success.
INSERT INTO
() TOP_PROSPECTS
COMMON_ID
DATE_ADDED
REVIEW_RANK
EVAL_DATE
PM_ASSIGN
WHY_NOTES)
SELECT
t.COMMON_ID
t.DATE_ADDED
t.REVIEW_RANK
t.EVAL_DATE
t.PM_ASSIGN
t.WHY_NOTES
Of
TEMP_IVAN_MARY t
WHERE
COMMON_ID <>t.COMMON_ID
Any suggestions?
Thank you.
Published by: user13822709 on August 14, 2012 09:14
Published by: user13822709 on August 14, 2012 09:15Is that what you're trying to do with the insert. I think there may be a sign {noformat}<{noformat}{noformat}>{noformat} missing in the where clause. This site eat those, so you need to use the equivalent! = post here.
If I'm wrong about the missing trader, then it looks like you want to insert rows in temp_ivan_mary that are not already in top_prospects. If Yes, then you need something like:
insert into top_prospects (common_id, date_added, review_rank, eval_date, pm_assign, why_notes) select t.common_id, t.date_added, t.review_rank, t.eval_date, t.pm_assign, t.why_notes from temp_ivan_mary t where t.common_id not in (select common_id from top_prospects where common_id is not null)
Function index and data available volumnes etc. then a mergr can be more effective. Something like:
merge into top_prospects p using (select common_id, date_added, review_rank, eval_date, pm_assign, why_notes from temp_ivan_mary) t on (p.common_id = t.common_id) when not matched then insert (common_id, date_added, review_rank, eval_date, pm_assign, why_notes) values (t.common_id, t.date_added, t.review_rank, t.eval_date, t.pm_assign, t.why_notes) from temp_ivan_mary t
John
{noformat}{noformat}> -
extract data from a table to a text file
I need to extract data from a table to a text file, I twist my output is the following...
bash-3. $00 vi tap3roamercosts_20110915144318.txt
lines of 'tap3roamercosts_20110915144318.txt' 393948, 23464348 characters
^ LAFGTD | N | 2011090203000001 | 13242514000064 | 1. 0 | 20. 41220 | 02-SEVEN.-11. 01-SEPT.-11. 0 | 13244
755. 64. 70. 0093794428588 | 0093796234547 | 0 | S2 | E | 412200306902634 | 8. 1. 61500 | 16081 |
| HW | Call to the Roamer. 0 | I have | Roaming billing Inroamer Plan | 1_0_1 | LKA | N_I_Independent
the time of day. Rate of Roamer SMST systems | AFGTD20110902030000010001013242514000064 |
|||||||||||||||||||||
AFGTD | N | 2011090203000001 | 13242612000044 | 1. 0 | 20. 41220 | 02-SEVEN.-11. 01-SEPT.-11. 0 | 13244
853. 44. 70. 234. 0093793252818 | 0 | S2 | E | 412200303198150 | 8. 1. 61000 | 12403 | HW | -Ro
bitter call | 0 | I have | Roaming billing Inroamer Plan | 1_0_1 | N_I_Independent time of Da
There | Rate of Roamer SMST systems | AFGTD20110902030000010001013242612000044 |
||||||||
AFGTD | N | 2011090203000001 | 13242612000047 | 1. 0 | 20. 41220 | 02-SEVEN.-11. 01-SEPT.-11. 0 | 13244
853. 47. 70. 234. 0093793252818 | 0 | S2 | E | 412200303198150 | 8. 1. 61000 | 12403 | HW | -Ro
bitter call | 0 | I have | Roaming billing Inroamer Plan | 1_0_1 | N_I_Independent time of Da
There | Rate of Roamer SMST systems | AFGTD20110902030000010001013242612000047 |
||||||||
.
.
.
.
.
Please help me how to format my output each record in simple lines in oracle sqlplus. Here are the settings I used...
TERMOUT OFF SET;
SET ECHO OFF;
SET LINESIZE 100000;
THE VALUE OF NEWPAGE 0;
SET SPACE 0;
SET PAGESIZE 50000;
SET FEEDBACK OFF;
SET THE OFF POSITION;
SET TRIMSPOOL
SET THE TABAnd what was wrong with the answers that you have on your previous thread?
How to extract data in a text file
Please do not ask the same question again. If there is a problem with the answers provided, then continue on the same thread that tell people what is the problem.
Saying that, this is another possibility for you...
As user sys:
CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles' / GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser /
As myuser:
CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2 ,p_dir IN VARCHAR2 ,p_header_file IN VARCHAR2 ,p_data_file IN VARCHAR2 := NULL) IS v_finaltxt VARCHAR2(4000); v_v_val VARCHAR2(4000); v_n_val NUMBER; v_d_val DATE; v_ret NUMBER; c NUMBER; d NUMBER; col_cnt INTEGER; f BOOLEAN; rec_tab DBMS_SQL.DESC_TAB; col_num NUMBER; v_fh UTL_FILE.FILE_TYPE; v_samefile BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file); BEGIN c := DBMS_SQL.OPEN_CURSOR; DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE); d := DBMS_SQL.EXECUTE(c); DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab); FOR j in 1..col_cnt LOOP CASE rec_tab(j).col_type WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val); WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val); ELSE DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000); END CASE; END LOOP; -- This part outputs the HEADER v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767); FOR j in 1..col_cnt LOOP v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),','); END LOOP; -- DBMS_OUTPUT.PUT_LINE(v_finaltxt); UTL_FILE.PUT_LINE(v_fh, v_finaltxt); IF NOT v_samefile THEN UTL_FILE.FCLOSE(v_fh); END IF; -- -- This part outputs the DATA IF NOT v_samefile THEN v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767); END IF; LOOP v_ret := DBMS_SQL.FETCH_ROWS(c); EXIT WHEN v_ret = 0; v_finaltxt := NULL; FOR j in 1..col_cnt LOOP CASE rec_tab(j).col_type WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val); v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',','); WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val); v_finaltxt := ltrim(v_finaltxt||','||v_n_val,','); WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val); v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),','); ELSE v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',','); END CASE; END LOOP; -- DBMS_OUTPUT.PUT_LINE(v_finaltxt); UTL_FILE.PUT_LINE(v_fh, v_finaltxt); END LOOP; UTL_FILE.FCLOSE(v_fh); DBMS_SQL.CLOSE_CURSOR(c); END;
This allows the header line and the data to write into files separate if necessary.
for example
SQL> exec run_query('select * from emp','TEST_DIR','output.txt'); PL/SQL procedure successfully completed.
Output.txt file contains:
empno,ename,job,mgr,hiredate,sal,comm,deptno 7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20 7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30 7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30 7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20 7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30 7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30 7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10 7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20 7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10 7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30 7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20 7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30 7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20 7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10
The procedure allows for the header and the data to separate files if necessary. Just by specifying the file name "header" will put the header and the data in a single file.
Adapt to the exit of styles and different types of data are needed.
-
How can I insert data from another table into a table containing a timestamp column
How you insert data from another table in a table if the target table contains a timestamp column. I tried to set the default value of GETDATE() column in the target table, but it does not work.
I use MS SQLSorry, I managed to get around this by inserting null as the value
-
Migration of data from a table to another table
have a table1 that includes the existing data in the format.
~@!%~X1~@!%~Y1 in three different coulmns
creates a new empty table and the need to migrate the data above, which is present in 3 different columns in a column in the new table, as shown in the example below.
table 1 existing data (| separator of columns for formatting)
------------------------------------------------------------------------------------------------------------------------------------
ID name1 | Name2. Name3
123 ~@!%~X1~@!%~Y1 | ~@!%~X2~@!%~Y2 | ~@!%~X3~@!%~Y3
234 ~@!%~X4~@!%~Y4 | ~@!%~X5~@!%~Y5 | ~@!%~X6~@!%~Y6
456 ~@!%~X7~@!%~Y7 | ~@!%~X8~@!%~Y8 | ~@!%~X9~@!%~Y9
Table 2, which will initially be empty and after migration, it should look as follows.
ID name1
----------------------------------------------------------------------------------------------------------------------------
123 ~@!%~X1~@!%~Y1 & & ~@!%~X2~@!%~Y2 & & ~@!%~X2~@!%~Y2
234 ~@!%~X4~@!%~Y4 & & ~@!%~X5~@!%~Y5 & & ~@!%~X6~@!%~Y6
456 ~@!%~X7~@!%~Y7 & & ~@!%~X7~@!%~Y7 & & ~@!%~X7~@!%~Y7
as shown in the example above
Name1 column has ~@!%~X1~@!%~Y1
Column name2 has ~@!%~X2~@!%~Y2
Name3 column has ~@!%~X3~@!%~Y3
Once the data is migrating from table 1 for id - 123 looks like below, before joining data from 3 tables, I need apopend & & for each for the token I read of the tabl1 of name1 to end ii should be added "& &" also when I read the name2 I add "& &" at the end of the string before the concatination.
Here's the sample that deals with data for id - 123 with & & (only & & other symbols are part of the data)
~@!%~X1~@!%~Y1 & & ~@!%~X2~@!%~Y2 & & ~@!%~X2~@!%~Y2
need help in writing a note of migate
Published by: [email protected] on April 2, 2010 15:42Hello
You are looking for something like this
CREATE TABLE table_new AS (SELECT id, name1 || '&&' || name2 || '&&' || name3 name1 FROM table1);
or if you have the table ready
INSERT INTO table_new (SELECT id, name1 || '&&' || name2 || '&&' || name3 name1 FROM table1);
Thank you
Alen
-
data from 3 tables with later dates
Hello
Need help with the PL/SQL code, I need to write a code that will get the data from 3 tables with the most recent date.
For an individual ACT_CODE the output of the SQL query should display the data including the last dates back to 3 tables, if there is no
Date of the table, it should show the remaining data (think that the left join will do here)
Names of tables:
Institution_UPDT aiu
AC ASQ_CONTACT
GR_AUTHORIZE gr
All 3 tables have ACT_Code in common
Column names
INSTITUTION_UPDT IAU - IAU. ACT_CODE, AIU.project_id as proj, IAU. UPDT_TYPE_ID, IAU. User_id, IAU. UPDT_DATE
ASQ_CONTACT ac - ac. ACT_CODE as contact_code, ac.project_id, ac.first_name, ac.middle_initial, ac.last_
Name, AC.title, AC. Status, AC.status_date
GR_AUTHORIZE gr - GR ACT_CODE as grad_code, gr.name, gr.title AS grad_title, gr.submit_date
Are the names of the columns date
AC.status_date,
IAU. UPDT_DATE and
Gr.submit_date
Thanks to you all
appreciate your help
JeshHi, Ngoumba,
If a given ACT_Code couldn't miss from any of the tables, then you will use better full outer joins, not a join left outer.
Perhaps it would be more effective to make a UNION of the three tables, then rotate the results in three datecolumns.
You can use the GROUP BY aggregation to get the last date for each ACT_Code in each table.
If you need other columns in the row which is the last date, you can use the ROW_NUMBER analytic function, like this:SELECT ACT_Code , updt_date , ROW_NUMBER () OVER ( PARTITION BY ACT_Code ORDER BY updt_date DESC ) AS r_num FROM institution_updt
The lines with r_num = 1 are the most recent
This is a technique of ot the UNION-PIVOT example:
WITH union_data AS ( SELECT ACT_Code , MAX (updt_date) AS last_date , 1 AS table_id FROM institution_updt GROUP BY ACT_Code UNION ALL SELECT ACT_Code , MAX (status_date) AS last_date , 2 AS table_id FROM ASQ_Contact GROUP BY ACT_Code UNION ALL SELECT ACT_Code , MAX (submit_date) AS last_date , 3 AS table_id FROM GR_Authorize GROUP BY ACT_Code ) SELECT ACT_Code , MAX (CASE WHEN table_id = 1 THEN last_date END) AS aiu_updt_date , MAX (CASE WHEN table_id = 2 THEN last_date END) AS ac_status_date , MAX (CASE WHEN table_id = 3 THEN last_date END) AS gr_submit_date FROM union_data GROUP BY ACT_Code ORDER BY ACT_Code ;
Published by: Frank Kulash, on September 16, 2009 15:02
Added UNION-pivot example -
Extraction of data from two tables without discounting
Hi friends,
I have a problem I want to extract data from two tables without discount in the text field when I will enter any value in a text field, then the value of corressponding must come to textfield corressponding.
for example. There are two table A and B.
Table A has Colunm
S_ID number;
C_ID Varchar2 (30);
VARCHAR2 (4) s;
Second table B Colunm name
S_ID number;
What varchar (30);
L_Name varchar (20);
When I enter in a text field then the c_id 101 s_id, dry, first_name and last_name should come to corressponding text without refresh fields.
How can I do that.
Thank you
MauryYou can use Ajax and there are tons of good examples out there for this purpose;
For example [http://apex.oracle.com/pls/otn/f?p=31517:236:1876567353842241] -
Remove a line from several tables
Hello
I have a form that has what appears to be a single table. Given that I needed 30 column (29 of them are single character fields) I had to use 2 objects from the table. Then I had the ability to add and delete lines. Add a line at the end is pretty easy. Deleting a specific line is the problem. For now, I added a third table that has a header line and a line of item body. the body line is a button with the intention to withdraw this entire line of the table. In other words, need remove the line in all 3 tables.
My structure is:
- Form1
- (Some other subform past who is not serious for us)
- SubformPersonnel (a subform sank)
- SubformHeader (a positioned subform)
- TextOverallHeader (text to label the oeverall 3 tables)
- ButtonAddRow (adds a line at the end of all 3 tables)
- SubformPersonnelTable (a positioned subform)
- ContractorTableRemove (a table with a 1 column for the button Delete)
- HeaderRow (line hidden to align the table with the other 2)
- Element (a line with the button Delete)
- CellRemoveButton (the cell with the button Delete and associated JavaScript)
- ContractorTableLeft (a table with the left 15 printed columns)
- HeaderRow
- Contractor (a row of data to be deleted when it is clicked on CellButton above)
- ContractorTableRight (a table with the right 15 printed columns)
- HeaderRow
- Contractor (a row of data to be deleted when it is clicked on CellButton above)
- ContractorTableRemove (a table with a 1 column for the button Delete)
- SubformHeader (a positioned subform)
- (Some other subforms that I'm not worried at the moment)
The 3 tables are aligned to the headers of all line up, no space between them. Body lines line up then and it looks like a large table. From left to right, they are:
ContractorTableRemove, ContractorTableLeft, ContractorTableRight
Point lines and contractor are added when you click on ButtonAddRow in the header of all. The initial number is set to 8 for each table, so I get 8 rows at the start. The minimum number is set to 1 for each. I know that each row in each table has the same index number, because I filled in a cell in each table cell initialize durig. This line, in the click event of the CellRemoveButton removes the row of the cell in this table:
This.parent.parent._item.removeInstance (this.parent.index);
I tried all kinds of ways to remove the same line (using the index #) in the other 2 tables: ContractorTableLeft and ContractorTableRight, but do not seem to get the correct correct syntax. I tried hard coding references, using .parent as shown below and also tried to use an index 1 just to try deleting a line with no result.
this.parent.parent.parent.ContractorTableLeft._Contractor.removeInstance (this.parent.inde, x);
Can someone get me the correct syntax here?
For example put a button Delete hidden on each table, click on that I saw, but I'm afraid it will get in the tables on each side of the table, in that it is the trail. I reeally want just to refer to the line and remove it if I can avoid all these problems of further removal can cause problems.
I copied the form to https://Acrobat.com/#d=7M8R50rEHf4AaVXppwyKLw
Hi Karl,
Here is your form you: https://acrobat.com/#d=oRRJP3W * OgBk6DqXXbJhgg.
I've corrected the Add button, the button Delete and remove the button at the top. I annotated the script, so I hope you can follow.
Hope that helps,
Niall
- Form1
Maybe you are looking for
-
The videos show only the upper-left corner of the image during playback.
When I try to play a video in Firefox (23.0) on my Mac, all I can see is the fourth upper left of the video image. When I try to display the same video in Safari it works fine. The entire image is rendered. Mac OS X 10.8.4
-
I forgot my password for my MacBook pro Please help‼️‼️‼️ IM trying to finish my taxes‼️
-
Mac will not let me merge xxxx
On my MacBook pro, that I wanted to clean things and start a new one so I created a new partition and all put on and deleted the old partition and not what I can't combine the old partition that subtraction is dimmed, they're right next to each other
-
Windows Vista uninstall will not remove acdsee7
Impossible to uninstall ACDSee7 with uninstallation of Windows (Vista)
-
Missing MSCRV71.dll in windows 7 do not know how to install
Hi there I tried to download the file from the internet and save it but it says that it cannot do. Also, I made an order in the CMD in administrator that someone had put in a previous post, which has been ' sfc/scannow' which returns by saying ' ther