PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • 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/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 a HyperFileSQL 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
Minimum required version
  • Version 0
This page is also available for…
Comments
Click [Add] to post a comment