UltraLite ActiveX User's Guide
UltraLite ActiveX API Reference
ULDatabaseSchema class
ApplyFile( parms As String ) As Boolean
Member of UltraliteActiveX.ULDatabaseSchema
Changes the schema of this database. Parms points to the schema file(s) you are applying to the database. This method is only useful on those occasions where you want to modify your existing database structure.
CautionApplyFile is very safe in the hands of an informed programmer. Do not delete columns unthinkingly unless you are willing to accept data loss, as data loss can occur under a number of circumstances including (1) if columns are deleted, or (2) if the data type for a column is changed to an incompatible type or (3) if you upgrade an 8.0.2 database using ApplyFile in UltraLite 9.0. |
parms The files containing the changes you wish to make to your database schema.
True if successful.
False if unsuccessful.
DatabaseSchema.ApplyFile( _ "schema_file=MySchemaFile.usm;palm_schema=MySchema" )