Detach_Table subroutine

Temporarily prevents access to a single table or list of tables by removing them from the current database. The permanent database definition is not altered.

Detach_Table(tablelist)

The Detach_Table subroutine has the following parameters. Use Get_Status() to check for an error.

ParameterDescription
tablelistContains a single table name or a @FM-delimited list of table names to detach.
* Detaches the OUTSTANDING table.

Detach_Table("OUTSTANDING")
if Get_Status(ErrCodes) then
  GoSub ErrorHandling
end

/* Detaches the CAR_PARTS and CAR_ORDERS tables from the current database. */

TableList = ""
TableList <1> = "CAR_PARTS"
TableList <2> = "CAR_ORDERS"

Detach_Table(TableList)
if Get_Status(ErrCodes) then
  GoSub ErrorHandling
end
 
 
  • guides/programming/programmers_reference_manual/detach_table.txt
  • Last modified: 2024/06/19 20:20
  • by 127.0.0.1