PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

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,Delete (External language)
In French: Table,Supprime
Deletes an element from a table.
Example
// In C
CALLWD("Table,Delete,ProdTable,3");
// In Pascal
CALLWD('Table,Delete,ProdTable,3');
// In VB
call CALLWD("Table,Delete,ProdTable,3")
Syntax
Table,Delete(<Table Name> [, <Subscript>])
<Table Name>: Character string
Name of the table to use.
<Subscript>: Character string (optional)
Subscript of the element to delete. The following elements are moved up by one rank.
If the subscript is not specified, the selected element is deleted.
For a memory table, the subscript is relative to the entire table.
For a browsing table, the subscript is relative to the elements viewed.
Remarks
  • For a browsing table, the record is directly deleted from the file.
  • For a chained deletions, the deletions should be performed from the last element to delete. Indeed, the elements found after each deletion are moved toward the top.
  • Table,Delete,<Table Name>,* deletes all the elements from a memory table
Minimum required version
  • Version 14
Comments
Click [Add] to post a comment