ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Managing external languages / Object functions
  • Notes
  • File table
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Table,Insert (External language)
In french: Table,Insere
Inserts an element into a table at a given position.
Example
// En C
APPELWD("Table,Insere,TableProd,10=%s",Ligne);
// En Pascal
APPELWD('Table,Insere,TableProd,10='+Ligne);
// En VB
call APPELWD("Table,Insere,TableProd,10="+Ligne)
Syntax
Table,Insert(<Table name> , <Subscript> , <Row value>)
<Table name>: Character string
Name of the table to use.
<Subscript>: Character string
Index 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:
      APPELWD("Table,Insere,TabCli,14=DUPOND\tJean");
    • Example in Pascal:
      APPELWD('Table,Insere,TabCli,14=DUPOND'+#9+'Jean');
    • Example in VB:
      call APPELWD("Table,Insere,TabCli,14=DUPOND"+CHR$(9)+"Jean")

File table

  • 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, don't use the HAdd function: use functions Table,Insere and Table,Save.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 09/21/2024

Send a report | Local help