Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Force 4.0 Reference - 285 accessing field at eof http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 285                 Accessing field at EOF
------------------------------------------------------------------------------
 Description
   This error indicates that the program has attempted to read from or write
   to a field variable when the database is at EOF. The error is dependant
   on the setting of the system variable __field_eof; when it is set to .f.,
   then a field can not be accessed when the database is at EOF.

 Solution
   Check the database for the EOF condition using the aeof() function before
   accessing fields. Set the __field_eof variable to .t. if in the program
   it is permissible to access field data at EOF. Under normal circumstances,
   it is not advisable to reference a field at EOF. However, you might want
   to access the field in a relation (i. e. where the parent has the record
   and the child does not).

See Also: __field_eof

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson