Re: changing default justification
- From: Ace <mstern@xxxxxxxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 19:50:17 -0400
dbenedict99@xxxxxxxxx wrote:
On Jul 28, 3:53 pm, drdanny <drdanny2...@xxxxxxxxx> wrote:Sure:when creating a file in D3, the default justification is "L". when i
have a file of strictly numeric keys, i'd like the justification to be
"R". how does, or can, one change that justification?
thanks,
danny
For the most part you should be able to just change the justification
on the File Defining Item.
There may be a few things that won't work as expected. Hopefully,
someone with better experience could highlight and quirks from
changing the FDI justification.
Do note that if you are indexing this file, AFAIK indexes are always
left justified. If your item numbers start a 1 and increment it is
sometimes helpful to pad the leading edge with zeros as this will give
much better hash experience.
hth, Dale
First, you have to use a weird TCL command option to allow editing the D pointer:
:ED DICT [filename] [filename] (D
Once in there, just make sure you ONLY change attribute 9 from L to R and FIle the item. From this point forward, your item-ids will display (and sort, and be used against selection criteria) right justified.
I hope you don't need to index on the ID, as most of the time, item-IDs are "meaningless" to the application or the user. I'm not sure if Dale was referring to just the IDs or to indexing, but if it's related to just the IDs, then I disagree that you need to pad leading zeroes: this neither helps hashing nor helps the sorting/selecting process.
HTH!
.
- Follow-Ups:
- Re: changing default justification
- From: Peter McMurray
- Re: changing default justification
- References:
- changing default justification
- From: drdanny
- Re: changing default justification
- From: dbenedict99
- changing default justification
- Prev by Date: Re: changing default justification
- Next by Date: Re: changing default justification
- Previous by thread: Re: changing default justification
- Next by thread: Re: changing default justification
- Index(es):
Relevant Pages
|