PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE

  • Characteristics of a row
  • Cascading input
  • Adding images
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
<Table>.Add (Function)
 
Ejemplo
// Add "Moore", "Vince" and "06/21/72"
// at the end of the "TABLE_CustomerTable" control
ResAdd = TABLE_CustomerTable.Add("Moore" + TAB + "Vince" + TAB + "06/21/72")
Sintaxis
<Result> = <Table control>.Add([<Row>])
<Result>: Boolean
<Table control>: Control name
<Row>: Optional character string
Observaciones

Characteristics of a row

  • Each added element is converted into the type of the relevant column.
  • To specify no value for an element, use an empty string ("") or 0 (according to the type of column). For example:
    TABLE_CustomerTable.Add("Moore" + TAB + "Vince" + ...
    TAB + "" + TAB + "06/21/72")
  • If an element corresponds to the calculation result, the numeric expression must be enclosed in brackets. For example:
    TABLE_CalculationTable.Add((53+29) + TAB + (83-21))
WINDEVWEBDEV - Código ServidorWindows MobileJavaPHP

Cascading input

To perform cascading input, <Table>.Add must be used in the "Exit from a row of table" process:
IF TABLE_CustomerTable..NewLine THEN
TABLE_CustomerTable.Add()
END
WEBDEV - Código ServidorPHP This operating mode is available for Table controls in Ajax mode only.

Adding images

To add an image into a Table control:
  • WINDEV specify the name and full path of image to add.
    For example:
    TABLE_MyTable.Add("C:\MyDocuments\MyImage.BMP")
  • WEBDEV - Código ServidorPHP specify the path and name of image to add. The path is relative to the "<Project_Name>_WEB" directory.
    For example:
    // Adds the image found in the "WB_MyApp_WEB" directory
    TABLE_MyTable.Add("MyImage.BMP")
Note: The column must be an Image column otherwise the added image will not be displayed properly.
Componente : wd240obj.dll
Versión mínima requerida
  • Versión 23
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario