Deri,
You get this error message when your program confuses a command containing an object with one containing a table.field reference. In this case you may have an object that does not have an 'enabled' property - very possibly a custom class. That's one good reason for always using the third, 'class' parameter in the 'Setall' command.
HTH
Barbara
>I am using Thisform.Setall("Enabled",.F.) in several places in one of my form classes.
>It has always worked before, and is working in most places now. In one particular situation, the
>line of code containing this command generates the error "Cannot access the selected table."
>I tried increasing the number of files in my config.sys, but this didn't help. Does anyone have any
>ideas? Thanks in advance for your help!
>
>Deri Gawthrop