Help - Command([FileSave]) is deleting my documents

I am using @Command9[FileSave]) to save changes to a document. Unfortunately, it does not save, it will delete the document. I have isolated the deletion to the @Command. Does anyone have any thoughts or suggestions on how this can be fixed?

Subject: Help - Command([FileSave]) is deleting my documents

Saving a document does not, in and of itself, result in a deleted document. It doesn’t happen, there’s no such bug. So you need to loo at other things: form events (e.g. QuerySave / onSubmit) or document security that locks you out.

Subject: Help - Command([FileSave]) is deleting my documents

perhaps the FileSave is failing because of validation formulas, and then a subsequent FileCloseWindow is allowed to proceed? (This would require that the user manually click Ok in a couple of confirmation prompts.)

Subject: Help - Command([FileSave]) is deleting my documents

I suspect that File Save cannot “delete” documents. It might, however, be saving a document with a readers field that you are not in, effectively hiding the document from you.

Subject: RE: Help - Command([FileSave]) is deleting my documents

Or it could be modifying the document in a way that removes it from one or more views.