PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Addition into a memory table
  • Addition in a browsing table
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Table,Add (External language)
In French: Table,Ajoute
Adds an element into a table.
Note: To add an element at a specific position, you must use Table,Insert.
Example
// In C
CALLWD("Table,Add,ProductTable=%s",Row);
// In Pascal
CALLWD('Table,Add,ProductTable='+Row);
// In VB
call CALLWD("Table,Add,ProductTable="+Row)
Syntax
Table,Add(<Table Name> , <Row Value>)
<Table Name>: Character string
Name of the table to use.
<Row Value>: Character string
Value of the row to add.
Remarks

Addition into a memory table

<Row Value> is added to the last row of the memory table, even if it is not displayed.
After Table,Add, the table is not in edit: to perform an input in the table, you must call Screen,Input.

Addition in a browsing table

<Row Value> is added to the first available row of the table or, if no row is available, to the last visible row of the table.
The file is not modified: you must run Table,Save to modify the file.
After Table,Add, the table is not in edit: to perform an input in the table, you must call Screen,Input.
In a browsing table, Table,Save or Table,Delete must be called after Table,Add before Table,Add (or Table,Insert) can be called again. Otherwise, the content of the row is lost.
If the table contains several columns, the initialization values must be separated by the value of the [TAB] character (binary code 9):
  • Example in C:
    CALLWD("Table,Add,CustomerTab=SMITH\tJohn");
  • Example in Pascal:
    CALLWD('Table,Add,CustomerTab=SMITH'+#9+'John');
  • Example in VB:
    call CALLWD("Table,Add,CustomerTab=SMITH"+CHR$(9)+"John")
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment