?
Solved

Generate a sequencial code for Documents

Posted on 2004-03-25
3
Medium Priority
?
445 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

  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…
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.
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

801 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