Assigning Sequential Numbers to Response Documents (Notes 5)

pts.
Tags:
Lotus Domino
Hi I need to assign sequential numbers to response documents, the first child would be R1, the second R2 and so on, but am not sure how to do this.. Any ideas would be greatly appreciated. Kate

Answer Wiki

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

Try using something like @Rightback(@DocNumber;”.”) for the #.

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
  • Sibkis
    If the responses are created from the parent doc, you could use a field on the parent doc to store the last number used. Then when a new response is created, it could take that number, increment it by 1, write it to the response and back to the parent, and save both docs.
    0 pointsBadges:
    report
  • Fugazi68
    Hi Kate, I was working on this last week and thought I'd post my solution, though it's been described generally already. On the parent document create two fields DOCUNID calculated on compose - formula @TEXT(@DOCUMENTUNIQUEID) NUM numeric field defaulted to 0 On the child document, set the "Formulas Inherit Values...." option on the Form and create two new fields. PDOCUNID calculated on compose - formula DOCUNID CNUM calculated on compose - formula temp:=@getdocfield (PDOCUNID;"NUM")+1; @setdocfield(PDOCUNID;"NUM";temp); "R"+@text(temp) If yopu have any trouble with it just let me know. John
    0 pointsBadges:
    report
  • Katyep
    Great, thank you all for your help, I've got it sorted now
    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