PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • The different types of queries
  • Browsing the data file
  • FileToMemoryTable and ..NewLine property
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
Fills a "Memory table" control with all records found in a data file, a HFSQL view or a query (query created in the query editor or by HExecuteSQLQuery).
The memory Table control must contain the columns to associate with the items. FileToMemoryTable will:
  • clear the Table control.
  • associate the columns of the Table control with the items found in a data file, a HFSQL view or a query. The items will be associated according to their logical order defined in the file.
  • fill the Table control with the content of data file or query.
CAUTION: This operation may take quite a long time and it may overflow the memory if the data file is very large.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Note: From version 19, HFSQL is the new name of HyperFileSQL.
Example
// Fill the TABLE_MyTable control with the content of QRY_Query1
FileToMemoryTable(TABLE_MyTable, QRY_Query1)
Syntax
FileToMemoryTable(<Table Control> , <File Name>)
<Table Control>: Control name
Name of memory Table control to fill.
<File Name>: Character string (with or without quotes)
Name of data file, HFSQL view or query used.
Remarks

The different types of queries

FileToMemoryTable can be used with the queries created in the query editor or by HExecuteSQLQuery.
To associate a query created by SQLExec with a memory Table control, use SQLTable.

Browsing the data file

The data file is browsed according to the content of ..BrowsedItem.
In order for FileToMemoryTable to take into account the filter applied to the file, you must:
  1. Modify ..BrowsedItem by assigning it with the item returned by HFilter.
  2. Use FileToMemoryTable.

FileToMemoryTable and ..NewLine property

FileToMemoryTable assigns ..NewLine to True.
Components
WINDEVReports and Queries wd230obj.dll
Windows Mobile wp230obj.dll
WEBDEV - Server code wd230page.dll
Linux wd230page.so
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment