Creating a Table at Runtime
See also |
Previous Top Next |
1. | Call FieldDefsTdb.Clear.
|
|
1. | Call FieldDefsTdb.Add,
|
2. | Set the properties of the TdbFieldDef returned by this function.
|
|
1. | Set the FieldDefsTdb property according to the fields the new table should have,
|
2. | Set the TableLevel property,
|
3. | Set the Password and the Key property, if you want your table to be protected,
|
4. | Set the DatabaseName and the TableName property
|
5. | Call the CreateTable method.
|
|