@ud and @ub updated

Bruce Easton bruce at stn.com
Wed Apr 11 15:17:13 PDT 2007


(inline post)

Dennis Malen wrote Wednesday, April 11, 2007 6:02 PM:
> 
> Bruce,
> 
> Based on your response to Ken, do you mean that I could have put 
> my problem 
> line in @entsel and that would have solved the problem???
>

No, Dennis - not with the real field assignment (as you had it), because
in @entsel you would have received an error from filepro telling 
you that you are attempting to write a real field on the current 
record in @entsel and are now allowed, so you would still need to 
use a dummy field in that case or find some other way to populate 
the real field(as in ESC ESC when you save the record, leave a field, 
etc.).

Bruce

Bruce Easton
STN, Inc.
 
> Dennis Malen
> 516.479.5912
> ----- Original Message ----- 
> From: "Bruce Easton" <bruce at stn.com>
> To: <filepro-list at lists.celestial.com>
> Sent: Wednesday, April 11, 2007 5:54 PM
> Subject: RE: @ud and @ub updated
> 
> 
> > Kenneth Brody Wednesday, April 11, 2007 5:16 PM:
> >>
> >> Quoting Bruce Easton (Wed, 11 Apr 2007 16:58:32 -0400):
> >>
> >> > Dennis Malen wrote Wednesday, April 11, 2007 4:42 PM:
> >> [...]
> >> > > Can we conclude for everyone's benefit that in auto processing it
> >> > > is not a good idea to write to a real field but it is OK to write
> >> > > to a dummy field?????
> >> >
> >> > Yes, you can conclude that.  You are allowed to do it of course
> >> > in auto prc, but you also should understand what results to
> >> > expect when you do.
> >>
> >> Note that the only reason this is allowed by filePro is that the
> >> original versions of filePro didn't disallow it, and too many
> >> people wrote (broken) code that depends on this (broken) ability.
> >> Disallowing it would "break" the (already broken, but "working")
> >> code that depends on this.
> >>
> >> [...]
> >>
> >
> > Ah yes, and who am I to argue, being the champion of backward
> > compatibility that I am :).  And I suppose this explains the difference
> > in the later-applied @entsel where real-fld writing is proteced.
> > (Other than that difference and leaving out the auto table's way of
> > communicating values globally to other tables, I always just considered
> > @entsel as a duplicate of the first of the three runnings of automatic
> > processing that occurs with a typical filepro update transaction.  And
> > that it is in a more convenient place for comparing dummy fields and
> > just code used elsewhere in input.  At least in terms of populating
> > dummy fields on the screen.)
> >
> > Bruce
> >
> > Bruce Easton
> > STN, Inc.
> >
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> >
> > 
> 
> 


More information about the Filepro-list mailing list