Prevent doc from being saved.

The script below will prevent the doc from being saved on close and will not prompt the user with a save dialog box.

1) Create a plain text field with the name "SaveOptions"

2) Insert the line below directly before your Call uidoc.close 
     Call uidoc.FieldSetText("SaveOptions", "0")

Posted by fbrefere001 on Tuesday May 15, 2001