Xbasic
SQL_TableInfoToOpenTable Function
Syntax
Result_Flag as L = SQL_TableInfoToOpenTable( TableInfo as SQL::TableInfo, Local_File_Name as C )
Arguments
- Result_Flag
TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).
- TableInfo
A SQL::TableInfo object that records the properties of a table.
- Local_File_Name
The name of the new table to create.
Description
The SQL_TableInfoToOpenTable() functions creates a new Alpha Anywhere .DBF table based on the specifications in a SQL::TableInfo object.
Example
dim ti as SQL::tableinfo ? SQL_TableInfoOfDBF("c:\databases\alphasports\product.dbf", ti) = .T. ? SQL_TableInfoToOpenTable(ti, "c:\databases\alphasports\product3.dbf") = .T.
See Also