ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / Errors / WLanguage errors
  • Reason
  • Correction
  • Example
  • Using an integer in a FOR EACH loop
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Error 404: The file for HFSQL browse cannot be an expression of this type
Reason
This code uses the FOR EACH statement. The name of the data file expected in this statement does not correspond to the name of a valid data file.
Correction
Check the code of the FOR EACH statement and use the name of an HFSQL data file.
Example

Using an integer in a FOR EACH loop

Code triggering the error
B is int
FOR EACH B
ListAdd(LIST_List1, CustomerName)
END
Possible correction
Use the name of a data file instead of a scalar variable.
FOR EACH CUSTOMER
ListAdd(LIST_List1, CustomerName)
END
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/06/2023

Send a report | Local help