Insert into Table

From UBot Studio
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
This inserts a blank row or column in front of a specified index (column or row number).
 
This inserts a blank row or column in front of a specified index (column or row number).
  
* Table: refers to the table you would like to insert the column or row
+
'''Table:''' refers to the table you would like to insert the column or row.
  
* Insert: the drop down allows you to choose whether you want to insert a row or a column
+
'''Insert:''' the drop down allows you to choose whether you want to insert a blank row or a blank column.
  
* Index: refers to the position you want the row or column to be (row 1 or column 3 for example)
+
'''Index:''' refers to the position you want the row or column to be inserted. If an index of 1 is selected, and the insert is set to column, a blank column will be inserted for column 1.
  
 
== Example ==
 
== Example ==

Revision as of 20:33, 24 April 2013

Insert into Table is a Data Command.

This inserts a blank row or column in front of a specified index (column or row number).

Table: refers to the table you would like to insert the column or row.

Insert: the drop down allows you to choose whether you want to insert a blank row or a blank column.

Index: refers to the position you want the row or column to be inserted. If an index of 1 is selected, and the insert is set to column, a blank column will be inserted for column 1.

Example

navigate("http://www.fruitsinfo.com/tropical-fruits.php", "Wait")
add list to list(%one, $scrape attribute(<href=w"http://www.fruitsinfo.com/*.php">, "innertext"), "Delete", "Global")
add list to table as row(&test1, 0, 0, %one)
plugin command("TableCommands.dll", "insert into table", &test1, "Row", 3)


Running the scripts will insert an empty row in the table.

File:Insert.png

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox