Before it's called, the database and the table must be closed (e.g. by the Close method).
The method is not functional if the Technology configurator is set to Access through ODBC. In this case to create the table it is necessary to use the MSSQL language and the Execute method for the command execution.
The method cannot create *.xls MsExcel files; such file can be created by calling the CreateObject method.
Set oDb = pMe.Pm("/Database")
If oDb.IsOpen() Then
oDb.CreateField "column1", 8, 0 '8 = Date
oDb.CreateField "column2", 3, 0 '3 = Integer
oDb.CreateField "column3", 6, 0 '6 = Single
oDb.CreateField "column4", 10, 100 '10 = String
oDb.CreateIndex "column1", "column1", false, true, true, false, true