This forum has been archived. All content is frozen. Please use KDE Discuss instead.

leading zeros

Tags: None
(comma "," separated)
zto
Registered Member
Posts
1
Karma
0

leading zeros

Mon Mar 07, 2011 7:28 pm
greeting

thank you for this great app!

does anybody knows how to add leading zeros to a field? for example i need "19" to show up as "0019".

and one more question
is there any auto-incrementing field?

thank you!!
robbystephenson
KDE Developer
Posts
384
Karma
1
OS

Re: leading zeros

Sat Mar 12, 2011 3:49 pm
zto wrote:does anybody knows how to add leading zeros to a field? for example i need "19" to show up as "0019".
No, there's no formatting option like that at the moment, unless you edit one of the XSL files to do it. And that wouldn't affect the value itself, just how it's formatted for viewing.
zto wrote:is there any auto-incrementing field?
There's an automatic "id" field that auto-increments, but if you go back and remove an entry, the values don't reset. The ID field got added a few versions ago, but if you had a file older than that, the field might not have gotten automatically added.


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Evergrowing, Google [Bot], rblackwell