AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades HFSQL
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Extension (Property)
 
HFSQL ClassicHFSQL Client/ServerDisponible solo con estos tipos de conexión
The Extension property is used to:
  • get the extension of a data file defined in the data model editor or programmatically.
  • define the extension of a data file (for programmed data file description only).
Ejemplo
// Find out the name and full path of the Customer data file
NameAndFullPath is string
FullFilePathName = Customer.Directory + "\" + ...
	Customer.PhysicalName + Customer.Extension
// NameAndFullPath corresponds to "C:\MyFiles\Customer.Fic"
// Set UnFile data file extension
AFile is File Description
AFile.Name = "CUSTOMER"
AFile.Extension = ".AAA"
// The created file will be named "CUSTOMER.AAA"
Sintaxis

Finding out the extension of a data file Ocultar los detalles

<File extension> = <Data file>.Extension
<File extension>: Character string
  • Extension of the data file used (preceded by a dot).
  • Empty string ("") if the data file has no extension.
<Data file>: Character string
Name of the data file used. This name is defined in the data model editor or with the File Description type.

Defining the extension of a data file Ocultar los detalles

<Data file>.Extension = <New extension>
<Data file>: Character string
Name of the data file used. This name is defined with the File Description type.
<New extension>: Character string
Extension of the data file used (preceded by a dot).
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 06/12/2024

Señalar un error o enviar una sugerencia | Ayuda local