?
Solved

Generate a sequencial code for Documents

Posted on 2004-03-25
3
Medium Priority
?
455 Views
Last Modified: 2013-12-18
I new in all this stuff so i try to explain my best.
I  have a form where I have to enter all the information about my projects, no problem till here, but I want to creat a Code for each project, I want to inicializate de project code when I want, and I want that every time I create a new project de code incresase in 1, just when de document is new.

Other issue is that I want to export  the form to a file could be Word or Excel once i have finish it.

Anyone could help me thanks.
0
Comment
Question by:boomerman
3 Comments
 
LVL 19

Accepted Solution

by:
madheeswar earned 150 total points
ID: 10676469
0
 
LVL 24

Expert Comment

by:HemanthaKumar
ID: 10677205
How is this project number identified for a project ?

For each given project group create a profile document or a document in view.. which will hold the current project number. Whenever another new project is created it will extract the value from the proj group and add 1 to it and update the profile doc accordingly.

Use File..Export menu or command action to MS RTF format. This is readable by MS Word

~Hemanth
0
 
LVL 31

Assisted Solution

by:qwaletee
qwaletee earned 150 total points
ID: 10679426
Must they be sequential, and must they be numeric, or is the requirement really to assign any code, so long as it in unique?

If it can be any unique code, just create a field named UNIQUE_ID, make it text, and computed when composed.  The formula is really easy: @Unique

Since it is computed when composed, it will only calcuate at the time the new document is created, and stay fixed for that document thereafter.

Sequential number soluions are much more difficult, though you will find MANY examples in tis topic area (such as the one Madheeswar references).

Exportingto Excel: the easiest way is to create a view that matches what you want to see in Excel.  In R6, you can then just use "copy as table" and paste into Excel.  In any version, you can then export selected documents to 123, giving a file extension of .wk4, which Excel can open.

There are also several more sophisticated ways to export to Excel, by scripting the export to a CSV file or via OLE.  Check out the Sandbox area on notes.net.  There are also a few here, but most of them just lead you to the sandbox.

Exporting to Word would only be done for a single document, and is built-in (ppen a document, choose File->Export, Microsoft Word RTF is in the drop-down list), whereas the Excel exports are all for multiple documents being exported form a view.
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You’ve got a lotus Domino web server, and you have been told that “leverage browser caching” is a must do. This means that we have to tell the browser everywhere in the web to use cache. In other words, we set (and send) an expiration date in the HT…
  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question