Microsoft KB Archive/88988

= SET SAFETY OFF Command Suppresses Messages =

Article ID: 88988

Article Last Modified on 9/30/2003

-

APPLIES TO


 * Fox Software FoxBASE+ 1.21 for MS-DOS
 * Microsoft FoxBASE+ 2.5 for MS-DOS

-



This article was previously published under Q88988



SUMMARY
In FoxBASE+, the SET SAFETY OFF command suppresses system messages that confirm potentially destructive file operations. For example, when SET SAFETY ON is in effect, the INDEX and ZAP commands may generate a &quot;File already exists, overwrite? (Y/N)&quot; message. This message does not appear when SET SAFETY OFF is in effect. Users will not be warned when files may be overwritten or destroyed.

If the REINDEX command is used, the SAFETY setting is ignored.

Example
  SET SAFETY ON   USE demo INDEX ON lname TO demo 5 records indexed INDEX ON fname TO demo D:\FOXBASE\FOXVDEMO\DEMO.IDX already exists, overwrite it? (Y/N) 5 records indexed SET SAFETY OFF INDEX ON lname TO demo && Does not warn user 5 records indexed

Keywords: KB88988

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.