ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Managing databases / HFSQL / HFSQL functions
  • Example: Canceling the declaration of a CUSTOMER file not found in the analysis
HCancelDeclaration (Example)
Example: Canceling the declaration of a CUSTOMER file not found in the analysis
WEBDEV - Server codeAjaxHFSQL ClassicHFSQL Client/ServerStored proceduresHyper File 5.5OLE DBNative Connectors (Native Accesses)
The following example is used to:
  • temporarily import the description of CUSTOMER file into the analysis (from the physical file CUSTOMER.FIC).
  • process the data file.
  • end the temporary declaration.
EXTERN CUSTOMER
// Retrieves the description of Customer file not described in the current analysis
IF HDeclareExternal("C:\MyProject\AnExample\Customer.FIC", "CUSTOMER") = False THEN
	Error(HErrorInfo())
ELSE
	// Opens the file
	HOpen(CUSTOMER)
	// Process
	...
	HClose(CUSTOMER)
	HCancelDeclaration(CUSTOMER)
END
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 11/22/2024

Send a report | Local help