The DdfCreateTable method syntax has these parts:
DdfCreateTable returns a two-byte integer that holds the status of the VAccess control. If this is zero, the operation completed successfully.
This method first calls DdfAddTable to add the table definition to the dictionary. If this call fails for any reason, i.e. the table definition already exists and
overwrite is
False,
DdfCreateTable will also fail. If
DdfAddTable succeeds, this method will attempt to create a new, empty data file using
Location. The
bOverwrite parameter also controls whether or not an existing data file at the same
Location will be overwritten.
Unlike many of the other dictionary methods and properties, DdfCreateTable does not check
RefreshLocations. Since it does not affect the VAccess memory image, it assumes that it should write directly to the DDF. This behavior means that you do not have to switch
RefreshLocations if you plan to use the VAccess memory image to store DDF changes, write them to the DDF, and create the table in one pass (see
PSQL Programmer's Guide).