HP3000-L Archives

May 2008, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"James B. Byrne" <[log in to unmask]>
Reply To:
James B. Byrne
Date:
Thu, 22 May 2008 11:03:37 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (49 lines)
> Date:    Wed, 21 May 2008 20:28:44 -0700
> From:    "Walter J. Murray" <[log in to unmask]>
> Subject: TurboIMAGE: Adding an item to a data set
> 
> When adding an item to a data set using one of the fine TurboIMAGE
> maintenance programs, you have a choice of where to add it.
> 
> Do you:
> 
> 1.  Generally always add it at the end, on the theory that it is least
> likely to cause a problem there?  Or,
> 
> 2.  Insert it wherever would seem most logical, maybe even keeping your
> items in alphabetical order within the data set?
> 
> I'm just curious about common practice.
> 

In our case this decision must consider whether the dataset is an 
ordered detail or not.  The sort order of sorted paths in Image detail 
sets depends upon the contents of all of the fields that are positioned 
after the item declared as the sort item. If the sort order of the 
ordered path might be altered unpredictably by the contents of the new 
item then it is always positioned before the sort item.

Items that are logically connected are usually grouped together; as in 
transaction activity dates, address elements, or pricing and costing 
data blocks.  Otherwise we usually place stand alone items in datasets 
in alphabetic order by name as this makes finding them a tad easier when 
one is in a hurry.  For the same reason we usually keep the datasets 
ordered by master/detail types and then by alphabetic name within types 
and keep the root item list ordered by alphabetic name as well.

Fortunately for us, Adager makes doing this sort of housekeeping 
relatively painless and trivial.

Regards,

-- 
***          E-Mail is NOT a SECURE channel          ***
James B. Byrne                mailto:[log in to unmask]
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2