HP3000-L Archives

April 2005, Week 2

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:
Matthew Perdue <[log in to unmask]>
Reply To:
Matthew Perdue <[log in to unmask]>
Date:
Fri, 8 Apr 2005 18:15:58 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (36 lines)
Quoting "F. Alfredo Rego" <[log in to unmask]>:

>At 13:53 -0600 4/8/05, F. Alfredo Rego wrote:
>>At 10:56 -0500 4/8/05, Matthew Perdue wrote:
>>>Your program is doing a DBPUT on a manual master with a key value that is the
>>>same as a record already in the dataset. Duplicate keys in manual masters are
>>>not allowed, only in detail datasets
>
>So far, so good.
>
>>>or automatic masters
>
>I missed this (and an eager-beaver Adager used immediately emailed me
>to point out that I had a "bug" in my comment to Matt's post).
>
>Masters (whether manual or automatic) do NOT allow duplicate key values.
>
>You can't do a DBPUT to an automatic master, in any case.
>
>Back to programming and debugging,
<...snip...>

Lest I run in contridiction to the guru's of Image, I meant but did not
accurately express (and correct me if I'm wrong, as my comments are based on
observation and deduction, not actual review of TurboImage internals) that
automatic masters contain the key entry for the master, with a count of the
number of details records associated with the key. My deduction was that there
is/was a linked-list of the entries, but after all, that's what DBFIND is for,
to set up the linked-list pointers, so I may not be correct on the list being
maintained in the automatic master. Also correct is the person that indicated
you can't do a DBPUT on an automatic master - an implication I mistakenly may
have made in my previous comment. Oops, sorry....

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

ATOM RSS1 RSS2