The requirement in a database here is a document in a view which has a unique key a field as Doc_Num which is a proposal kind of document.I want to create an extra page then I have a button which composes an additional document(this is a response kind of doc).
If a similar kind of proposal I want to send to a different customer then there is a button called "Copy" ,then another copy of the document with a new number is created , now what the code does as of now is that it creates only one page of the Proposal , if there exists an additional page ( which exists as a seperate document in the view ) it should create an additional page( document) also .These two or three pages what exists are different documents in the view but have the same Doc_Num field and are created with the same form, so it should create that many no of documents in the view with the new numbers .The requirement is if there are three pages then it should create three documents since the unique key is the same and it is looked up as the first column from a categorized view.I am not able to get it working .
Software/Hardware used:
ASKED:
November 14, 2005 12:26 PM
UPDATED:
November 16, 2005 5:00 PM
What part isn’t working right?
How are we supposed to help you?
Grr
What part isn’t working right?
How are we supposed to help you?
Grr
Get a collection of all the docs in the view that have the original docnumber.
From this collection, work through it making copies and assigning the NEW docnumber to the copies.