Xbasic
SQL::TableInfoClear Method
Syntax
Result_Flag as L = .Clear()
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- SQL::TableInfo
A SQL::TableInfo object.
Description
Reset the contents of the TableInfo as if it had just been declared.
Discussion
The Clear() method clears out the SQL::TableInfo object as if it had just been created.
Example
dim TableInfo as SQL::TableInfo TableInfo.Name = "MyTable" IndexInfo.Name = "Primary_Key" TableInfo.Clear() ? TableInfo.Name = ""
See Also