You can't do that

John Esak john at valar.com
Wed Aug 31 15:16:32 PDT 2005


> -----Original Message-----
> From: Ken White [mailto:kenwhite at bellatlantic.net]
> Sent: Wednesday, August 31, 2005 6:01 PM
> To: john at valar.com
> Subject: Re: You can't do that
>
>
> I guess I am one of those people with child records and no
> header.   Usually
> it seems to be that the freechain over writes an existing record.   The
> header still has it's slot in the index,  but the header record
> is missing.
> It happens once in a blue moon, but it does happen.
>
> I remember showing you an example with Ken.  It still occurs, so
> I code to
> attempt to detect it.
>
> ----- Original Message -----
> From: "John Esak" <john at valar.com>
> To: "filePro mailing list" <filepro-list at seaslug.org>
> Sent: Wednesday, August 31, 2005 4:58 PM
> Subject: RE: You can't do that
>
>
> >> John,
> >> >
> >> > Think of what he is saying as header and detail
> >> > records.  He wants to insure
> >> > that there is a header record for all associated
> >> > detail records, I think.
> >> >
> >>
> >> Exactly.
> >>
> >> > Now, I consider this a programmers responsibility.
> >> > However, one would need to
> >> > turn "break off" to keep someone from canceling out
> >> > of a routine prior to the
> >> > header record being created.
> >>
> >> Or just make sure the header record gets written
> >> before you give the user the opportunity to add
> >> detail.
> >>
> >
> > Okay, it's just that I have NEVER, not even once run into a situation
> > where
> > there are child records with NO header record. I think if that happens,
> > there is something improperly written.  However, I have heard of this
> > happening to others who are the best filePro programmers I know... so, I
> > suppose I must grant that it can happen somehow even to the best of us.
> > Just haven't ever seen it yet. So, implementing code to ensure that it
> > never
> > happens, when it never has... is sort of silly to me. At least,
> there are
> > hundreds of things I'd rather see in filePro first.
> >
> > John

Yes, I know... we spent some time on it... to no avail. You were one of the
folks I was talking about.

Just have never seen it myself yet.


(and by the way, you are certainly just about the most expert filePro
programmer I know, barring Ken.)

John



More information about the Filepro-list mailing list