The LoadResource function loads in memory a table from the resources.
Syntax
Integer Table.LoadResource(
String name,
Integer loadData = true,
String sepChar = "")
String name,
Integer loadData = true,
String sepChar = "")
Parameters
| name | Resource name of the table file in Table folder. | Required |
|---|---|---|
| loadData true, false | Including data if not a CSV file. | Optional |
| sepChar | Specify a separator character for other formats (comma for CSV files). | Optional |
Return value
The LoadResource function returns true.
If an error occurs, the LoadResource function returns false.
Example
myTable.LoadResource("table\file.tbl")