>also in the
GETKEY() function, I changed the
if Found() to
IF SEEK(alltrim(upper(tcTable)) >For Some odd reason the Found would not go into the if statement, but the Seek() would.
>Go figure :-)
>
The SEEK() function by itself will cause an error message. Apparently a confusion with the SEEK command. This can be circumvented using the oldfashioned "=" sign:
= SEEK(value)
Of course,
if seek(value)
...
is shorter than:
= seek(value)
if found()
...
So I prefer the "if seek" version.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)