Creating copy of documents based on the id.

pts.
Tags:
LotusScript
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 .

Answer Wiki

Thanks. We'll let you know when a new response is added.

So, what does the code look like?

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Mbonaci
    What part isn't working right? How are we supposed to help you? Grr :(
    0 pointsBadges:
    report
  • Mbonaci
    What part isn't working right? How are we supposed to help you? Grr :(
    0 pointsBadges:
    report
  • BHawthorne
    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.
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following