jwcolby
jwcolby at colbyconsulting.com
Thu Jan 29 22:31:59 CST 2009
Did you know? That you can use predefined enums in your function definitions? I am writing a class that takes as a parameter intDirection which is a select range of values already defined by VB. function mInit(varParam as variant, intDirection as ParameterDirectionEnum) end function. Now call this method of the class and when you begin to enter the value in that parameter it will present (and restrict you to) a list of: dbParamInput dbParamInputoutput dbParamOutput dbParamReturnValue I knew this long ago but just kind of rediscovered it. -- John W. Colby www.ColbyConsulting.com