I've been building some screens with the help of a QUE book on FP26.
So... I decided to start creating some examples of my own, in addition to the ones
in the book. I came up with the following to help me track my golf handicap.
(believe me, it's not really worth tracking ;-)
A table that has information about a player:
plrcode - a two character code that is alpha only
fname - first name
lname - last name
In addition there is a table that has information about a course, and a table that
has information about a round played.
I used the Quick Screen option to generate a screen, and checked the memory
variable box, arranged the fields, added some code snippets and generated it.
The problem is showing up in my validation code in the get for a field, but I
suspect that the error really lies somewhere else. I have created (copied,
really) a program from the QUE book to use for validation, and as I try to
edit the "plrcode" field, I get an error that doesn't occur when I use it
with their examples. This leads me to believe that I may have set something up
incorrectly somewhere else in the screen.
I have "Valid" for that field set to Expression, and the expression is just
a call to the program called chkcode().
It fails within the first couple of lines of the top of the validation program
(chkcode.prg), where it is trying to determine whether or not the field has been
left empty or not:
the_var = VARREAD()
The failure occurs on the line with the "IF," and the error code is:
Variable "plrcode" not found.
Does anybody have any ideas? I would like to understand what the problem is,
and why I ran into it instead of starting over and hoping I don't accidentally
Any help would be VASTLY appreciated,