LoadResource  Table

The LoadResource function loads in memory a table from the resources.

Syntax

Integer Table.LoadResource(
     String name,
     Integer loadData = true,
     String sepChar = "")

Parameters

nameResource name of the table file in Table folder.Required
loadData
true, false
Including data if not a CSV file.Optional
sepCharSpecify 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")
SECCIA Documentation - Copyright © 2001-2009 Sylvain Seccia