AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Administrar bases de datos / HFSQL / Funciones HFSQL
  • Example: Creating/Opening a password-protected data file
  • Example: Creating/Opening a data file created through programming
HCreationIfNotFound (Example)
Example: Creating/Opening a password-protected data file
WEBDEV - Código ServidorPHPAjaxHFSQL ClassicHFSQL Client/ServerHyper File 5.5OLE DBConectores Nativos The following example is used to create (or open) a password-protected file (Customer file).
// Create the Customer file
HCreationIfNotFound(Customer, "LUCY1999")
Example: Creating/Opening a data file created through programming
WEBDEV - Código ServidorAjaxHFSQL ClassicHFSQL Client/ServerHyper File 5.5 The following example is used to create the Customer file. During the file creation, the name of the file to create must be specified. A File Description variable cannot be used. You must use:
  • the name of the file directly
  • the Name property on the File Description variable.
EXTERN AFile
// Describe the "Customer" file
AFile..Name = "Customer"
AFile..Type = hFileNormal
AFile..FicEncryption = hEncryptionStandard
// Describe the file items
...
// Validate the description of "Customer" file
HDescribeFile(AFile)
HCreationIfNotFound(AFile..Name)
// Or HCreationIfNotFound("Customer")
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: 28/03/2023

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