VEnum Class: Construction Methods
VEnum.Constructor()
Declaration:
Constructor( inName as String, VTypeEnum inEnum, inFlags as integer = fNone )
Parameters:
- inName - A name of the field.
- inEnum - Enum Type prepared before in the database.
- inFlags - The field flags. Default is fNone.
Description:
Constructor of the VEnum class.
You may need to use this method only if you are using the Class Style of coding.
Example:
sub tblPerson mfName = "tblPerson" mfFirstName = new VString( "fldFirstName", 30, fNullable + fIndexed ) mfDayOfWeek = new VEnum( "fldDayOfWeek", typeDayOfWeek, fNullable + fIndexed ) end