PRB: NOEDIT Clause of BROWSE Command Ignored in Program ModeID: Q114249 2.50 2.50a 2.50b 2.60 3.00 | 2.00 2.50 2.50a 2.50b 2.60 | 2.50b kbprg kbprb
The information in this article applies to:
SYMPTOMSThe NOAPPEND and NOEDIT|NOMODIFY clauses of the BROWSE command have no effect on programmatic editing commands such as APPEND BLANK or REPLACE.
RESOLUTIONWhen you are calling a BROWSE command programmatically in a situation where adding a record may be desired but editing is not, issue the BROWSE command with a WHEN clause that returns FALSE so that editing any new or existing records is impossible. For example:
NOTE: Although this command will prevent interactive editing of the BROWSE,
remember that programmatic editing is still functional. The only way to
prevent programmatic editing is to open the database in a read-only format
(with the NOUPDATE clause).
MORE INFORMATION
Steps to Reproduce Behavior1. In the Command window, issue the following commands:
2. Try to enter data in the newly added record.
3. Try to edit any previously existing record.
Since the NOAPPEND and NOEDIT|NOMODIFY clauses of the BROWSE command are intended to affect only the interactive use of a BROWSE, programmatic editing is still possible. Additional reference words: VFoxWin 3.00 FoxMac FoxDos FoxWin 2.00 2.50 2.50a 2.50b 2.60 KBCategory: kbprg kbprb KBSubcategory: FxprgBrowse
|
Last Reviewed: May 1, 1996 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |