Solved

Generate a sequencial code for Documents

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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
Come and listen to Percona CEO Peter Zaitsev discuss what’s new in Percona open source software, including Percona Server for MySQL (https://www.percona.com/software/mysql-database/percona-server) and MongoDB (https://www.percona.com/software/mongo-…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

688 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