PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Notes
  • 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,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")

Browsing table

  • For a browsing table, 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 required version
  • Version 14
Comments
Click [Add] to post a comment