UltraLite for MobileVB User's Guide
UltraLite for MobileVB API Reference
ULDatabaseSchema class
ApplyFile( parms As String )
Member of UltraLiteAFLib.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.
DatabaseSchema.ApplyFile( _ "schema_file=MySchemaFile.usm;palm_schema=MySchema" )