* Program....: SETPRIVATEDATASESSIONENVIRONMENT.PRG * Version....: 1.0 * Author.....: Andrew Coates * Date.......: March 27, 1999 * Notice.....: Copyright © 1999 Civil Solutions, All Rights Reserved. * : Released into the public domain Febuary 20, 2003 * : Code supplied AS-IS -- No warranty expressed or implied * Compiler...: Visual FoxPro 06.00.8167.00 for Windows * Abstract...: Sets the environment for a private data session - called from a program because it operates in the data session from which it was called * as opposed to method code which operates in the data session of its parent object * Changes....: * List of commands taken from the SET DATASESSION help topic SET ANSI OFF SET AUTOSAVE ON SET CARRY OFF SET COLLATE TO "MACHINE" SET CONFIRM OFF SET DELETED ON SET EXACT OFF SET EXCLUSIVE OFF SET FIELDS OFF SET FIXED OFF SET LOCK OFF SET MEMOWIDTH to 50 SET MULTILOCKS ON SET NEAR OFF SET NULL OFF SET REPROCESS TO AUTOMATIC SET SAFETY ON SET SECONDS ON SET SYSFORMATS ON SET TALK OFF SET UNIQUE OFFCheers,