Prevent new document instances from being created

Hi Everyone,I am relatively new to Notes/Domino and have a problem that I think is pretty simple.

I created a database similar to an address book, in which I want one record for each person. The database is web based.

When I edit a record, and save it, the old record is kept leaving me with 2 instances of the record, when I only want one.

Has anyone run into this before? I tried searching the forum, but couldn’t find anything.

Thanks very much,

Jon

Subject: RE: Prevent new document instances from being created

It sounds like someone has enabled “versioning” in the Form properties.

Subject: RE: Prevent new document instances from being created

Hi Andre,Versioning is actually set to ‘none’ in the form properties.

The form consists of a tabbed table, and I realized that the extra documents are being created when I save the document in a tab different from the previous save.

Any ideas?

Thanks again.

Subject: RE: Prevent new document instances from being created

It still sounds like versioning could be at work here though. You might want to check that the affected documents don’t have a field in them called “$VERREF”, as this is the field tag for the versioning form property.

HTH

Subject: RE: Prevent new document instances from being created

Hi,Thanks, but I’m afraid that isn’t the problem either. I checked, and there are no “$VERREF” field in any of the documents.

Any other ideas?

Jon

Subject: RE: Prevent new document instances from being created

In that case we’ll need to see code. Is there a Webquerysave agent running on submission? What about an “onSubmit” Javascript event? Either of these things could be responsible for duplicating data, but we’d need to see the code to comment further.

Subject: RE: Prevent new document instances from being created

I solved it…I had some bad code in the $$return field that was causing the new documents to be created. It is fixed now though.

Thanks.

Jon