PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Overview
  • Example of retrieval
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
Overview
The analysis represents the structure of data files handled by the program.
You have the ability to retriev the analysis structure by programming in order to perform checks or to propose a user interface for interrogating a database in a generic way.
The following functions are required to retrieve the analysis structure:
Example of retrieval
This example is used to retrieve the list of all files found in the current analysis. For each listed file, the example retrieves:
  • the list of items,
  • the list of keys,
  • the list of links.
Example code:
// Declare the variables
sFileList is string
sItemList is string
sKeyList is string
sLinkList is string

// Load the list of analysis files
sFileList = HListFile()

// Browse the list of analysis files
FOR EACH STRING sFileName OF sFileList SEPARATED BY CR

// Load the file items
sItemList = HListItem(sFileName, hLstDetail)
// Load the file keys
sKeyList = HListKey(sFileName, hLstDetail)
// Load the file links
sLinkList = HListLink(sFileName)


Trace("================ FILE ================")
Trace("File: ", sFileName)
Trace("--- List of items ---")
FOR EACH STRING sItem OF sItemList SEPARATED BY CR
Trace(sItem)
END
Trace("--- List of keys ---")
FOR EACH STRING sKey OF sKeyList SEPARATED BY CR
Trace(sKey)
END
Trace("--- List of links ---")
FOR EACH STRING sLink OF sLinkList SEPARATED BY CR
Trace(sLink)
END
END
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment