Solved

Generate a sequencial code for Documents

Posted on 2004-03-25
3
427 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 50 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 50 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

For beginners of Lotus Notes user this is important to know about the types of files and their location supported by IBM Notes. Mostly users are unaware about how many file types are created and what their usages are. This Article is fully dedicated…
Article by: Rob
Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now