KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Read only state command returns false after DISPLAY SELECTION
PRODUCT: 4D | VERSION: 2004 | PLATFORM: Mac & Win
Published On: February 27, 2007

Why does the "Read only state" command return false after calling "DISPLAY SELECTION"?

Executing the DISPLAY SELECTION command sets the current selection to read only within the process that called the DISPLAY SELECTION command.

What does this mean?

It means if process A calls DISPLAY SELECTION on Table 1, another process such as process B can:

-Modify any record in Table 1

Process A can only do the following to Table 1:

-Create a new record in Table 1.
-Read the current selection.
-Modify records not in the selection.

The "Read only state" command is checking the state of a *table*, not a selection.