It's been a while and I don't remember how to do this, so bare with me...
I have a function that writes a line to a log-file:
public sub MyLog.WriteToLog(ErrType as ?????, LMessage as string, LogFile as string)
I know there's a way to define what ErrType that can be used, for instance, "Informational", "Minor', "Major", "Critical" so that when I call the sub it gives me a dropdown so I can select what error type to use...
Thanks in advance