ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
  • Notes
  • Table based on a data file
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Table,Insert (External language)
In french: Table,Insere
Inserts an element into a table at a given position.
Example
// In C
CALLWD("Table,Insert,ProdTable,10=%s",Row);
// In Pascal
CALLWD('Table,Insert,ProdTable,10='+Row);
// In VB
call CALLWD("Table,Insert,ProdTable,10="+Row)
Syntax
Table,Insert(<Table name> , <Subscript> , <Row value>)
<Table name>: Character string
Name of the table to use.
<Subscript>: Character string
Subscript of the element in the table.
<Row value>: Character string
Value of the row to insert.
Remarks

Notes

  • After Table,Insert, the table is not in edit. To perform an input in the table, you must call Screen,Input.
  • If the table contains several columns, the columns must be separated by the numeric value of [TAB] (binary code 9):
    • Example in C:
      CALLWD("Table,Insert,CustTab,14=SMITH\tJohn");
    • Example in Pascal:
      CALLWD('Table,Insert,CustTab,14=SMITH'+#9+'John');
    • Example in VB:
      call CALLWD("Table,Insert,CustTab,14=SMITH"+CHR$(9)+"John")

Table based on a data file

  • For a table based on a data file, the record is not inserted into the file, you must call Table,Save.
  • To modify the file associated with a table, you must not use HAdd: you must use Table, Insert and Table,Save.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 07/03/2023

Send a report | Local help