Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Delete_IndexGet_StatusAttach_TableAlias_TableRename_TableCopy Table Dialog

Example

Code Block
/* Copies CAR_PARTS_BAK to CAR_PARTS in volume E:\DAT, database INVENTORY. 
No locking is performed. The original table is deleted after the copy is performed. 
If a table with the same name exists, it is overwritten. */
 
declare subroutine Set_Status, Copy_Table
declare function Get_Status
 
status = ""
Set_Status(0)
Copy_Table("CAR_PARTS_BAK", "E:\DAT", "INVENTORY", "CAR_PARTS", "0", "1", "1", "0",status,"0")
 
If Get_Status(ErrCodes) Then
  GoSub ErrorHandling
End