Contents Index Properties ApplyFileWithParms method

UltraLite for MobileVB User's Guide
  UltraLite for MobileVB API Reference
    ULDatabaseSchema class

ApplyFile method


Prototype 

ApplyFile( parms As String ) 
Member of UltraLiteAFLib.ULDatabaseSchema

Description 

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.

Caution 
ApplyFile 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.

Parameters 

parms    The files containing the changes you wish to make to your database schema.

Example 
DatabaseSchema.ApplyFile( _
"schema_file=MySchemaFile.usm;palm_schema=MySchema" )

Contents Index Properties ApplyFileWithParms method