#INCLUDE DEFINES.H
PARAMETER cScrptName, cAppName, cDbName, cScrptType, cInstallPath
** cScrptType is 'FULL' or 'AUDIT'
PUBLIC oSqlSrvr, oDb
STORE .F. TO llError, lRelease, llSchemaAdded
ON ERROR llError = .T.
lnParams = PARAMETERS()
IF lnParams < 4 OR NOT (cScrptType == 'FULL' OR cScrptType == 'AUDIT')
WAIT WINDOW "Usage: SchemaGen