OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Autonumber in Writer

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
hagaymandel
Newbie
Newbie


Joined: 19 Oct 2006
Posts: 3

PostPosted: Thu Oct 19, 2006 11:38 am    Post subject: Autonumber in Writer Reply with quote

Hi all,
I need to have a autonumber inserted in a bookmark.
The data (last number used) should be kept and updated in a text file.
I'm sure that this must be simple, but unfortunately, I'm not familiar (yet) with openoffice basic.
A sample code will be perfect.

Hagay
Back to top
View user's profile Send private message
hagaymandel
Newbie
Newbie


Joined: 19 Oct 2006
Posts: 3

PostPosted: Fri Oct 20, 2006 4:08 am    Post subject: Iserted autonumber from text file Reply with quote

Folks please respond!
Back to top
View user's profile Send private message
RGB
Super User
Super User


Joined: 25 Nov 2003
Posts: 1743
Location: In Lombardy, near a glass of red Tuscany wine

PostPosted: Fri Oct 20, 2006 4:18 am    Post subject: Reply with quote

I'm not really sure about what you need, but under Insert -> Fields -> Others (Ctrl+F2) you can define a variable field. For example, insert "var" (without quotes) under name, and var+1 under value, click on "insert" and you are on the game.
Back to top
View user's profile Send private message
foxcole
Super User
Super User


Joined: 19 Jan 2006
Posts: 2771
Location: Minneapolis, Minnesota

PostPosted: Fri Oct 20, 2006 5:19 am    Post subject: Re: Iserted autonumber from text file Reply with quote

hagaymandel wrote:
Folks please respond!

Perhaps if you described what you're trying to accomplish in more detail, it would be easier to respond. An autonumber inserted IN a bookmark? In the same bookmark? What for?And what would trigger the increment? Maybe there's an easier way to go about meeting your needs.
_________________
Cheers!
---Fox

WinXP Pro SP2, OOo Portable 2.3.1, OOo local 2.4 RC4
New OpenOffice forum: http://user.services.openoffice.org/en/forum/
Manuals: http://documentation.openoffice.org/manuals/index.html
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
hagaymandel
Newbie
Newbie


Joined: 19 Oct 2006
Posts: 3

PostPosted: Fri Oct 20, 2006 8:12 am    Post subject: Re: Iserted autonumber from text file Reply with quote

foxcole wrote:
hagaymandel wrote:
Folks please respond!

Perhaps if you described what you're trying to accomplish in more detail, it would be easier to respond. An autonumber inserted IN a bookmark? In the same bookmark? What for?And what would trigger the increment? Maybe there's an easier way to go about meeting your needs.

Thanks for the guideline Fox.
What I'm trying to do, is insert a auto-number to a text document.
I'm already able to read the last number (stored in a text file), and update it as well.
What I don't know, is how to insert this number, at the event of creation a new text document from a specific template, to a designated place in the document (template), something I used to do with a bookmark in MS-Word.

Thanks,

Hagay
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group