At 10:09 PM 3/18/01 -0500, Jim Reisert AD1C wrote:
>On Mon, 19 Mar 2001 02:42:23 -0000, Hans K0HB wrote:
>
> >Is there a way in setup to "train" Writelog to accept only
> >valid entries, for example in SweepStakes, to allow the
> >prec field to only contain A, B, M, S, and Q?
>
>Doing what you suggest creates the "problem" that the logging software
>will need to be updated if the ARRL ever adds more categories like it
>did a couple of years ago. This caused a big problem with CT, and SS
>logs created with older versions could not be used with the newer
>version (post M/S/U) and vice-versa.
>
>I vote to leave it as-is.
This kind of checking can easily be accommodated with a "list of valid
values" - stored in a .INI file just as WriteLog does with the list of ARRL
sections, etc. - however, making the software refuse to take any values
other than those listed would be counterproductive.
Any time an "unlisted" value (such as a new ARRL section or a misspelling
of an existing section) is entered, it could be flagged as an unknown value
and at least it would stick out. Maybe the software could bark about the
unknown value and force the user to confirm that they really wanted to save
that value before continuing.
-Marty NW0L
martyt@pobox.com
--
WWW: http://www.writelog.com/
Submissions: writelog@contesting.com
Administrative requests: writelog-REQUEST@contesting.com
Problems: owner-writelog@contesting.com
|