@ud and @ub updated

John Esak john at valar.com
Mon Apr 9 11:32:28 PDT 2007


Came in late to this one... @entsel will not update the record's system
maintained fields like @ud, however, any use of an @key at all will change
the value of @ud. Doesn't matter what you do in the @key routine, just
executing the keystroke puts you into update mode and locks the record. Why,
does this appear not to be the case somewhere?

John


> -----Original Message-----
> From: filepro-list-bounces+john=valar.com at lists.celestial.com
> [mailto:filepro-list-bounces+john=valar.com at lists.celestial.com]On
> Behalf Of Dennis Malen
> Sent: Monday, April 09, 2007 12:50 PM
> To: Bruce Easton; filepro-list at lists.celestial.com
> Subject: Re: @ud and @ub updated
>
>
> Bruce,
>
> 1. I have and "end" after the lookup.
>
> 2. I have no write command nor do I change the value of any real field in
> auto proc.
>
> Lastly, I will deactivate the auto proc just to make sure an see what
> happens.
>
> One last thought, I do have an @entsel which initiates a "show"
> command to
> rewrite the record number and shows other keys that can be pressed by the
> user in order to initiate other defined @key's. They are only "show"
> commands in @entsel.
>
> Dennis Malen
> 516.479.5912
> ----- Original Message -----
> From: "Bruce Easton" <bruce at stn.com>
> To: <filepro-list at lists.celestial.com>
> Sent: Monday, April 09, 2007 10:48 AM
> Subject: RE: @ud and @ub updated
>
>
> > Dennis Malen wrote Saturday, April 07, 2007 8:14 PM:
> >> No, that is all there is to the processing. Just those couple of lines.
> >>
> >> Dennis Malen
> >> 516.479.5912
> >> ----- Original Message -----
> > Kenneth Brody wrote Friday, April 06, 2007 11:17 PM:
> >> > Quoting Dennis Malen (Fri, 6 Apr 2007 18:32:29 -0400):
> >> >
> > [...]
> >> >> >> >> I am using the following on a @key request:
> >> >> >> >>
> >> >> >> >>  input popup wk"Enter RECORD NUMBER"
> >> >> >> >>    -   -   -   -   -   -   -   -   -   -   -   -   -
> >> >> >> >>  wk=""
> >> >> >> >>  end
> >> >> >> >>    -   -   -   -   -   -   -   -   -   -   -   -   -
> >> >> >> >>  lookup -  r=wk   -nw
> >> > [...]
> >> >
> >> > But, do you modify anything in the @key processing?
> >> >
> >
> > Dennis - just to be clear about a couple of things:
> >
> > 1.  Even though you have said "Just those couple of lines,"
> > I'm still not sure what is happening in your code after the
> > lookup - is there an unconditional "end" command?   Or does it
> > fall thru to something - and if something,please supply us
> > that code.
> >
> > 2.  When I mentioned "write" in auto prc before, I was generalizing.
> > I'm assuming you don't write to real fields since you said that is
> > not your programming approach. But then you replied in the next message,
> >
> >>>>>I double checked the auto proc and there is no write command.
> >
> > My point was that if you had even an assignment to a real field
> > in the auto, that would also cause the sys fields to update.
> >
> > To answer you other question, just as you saw, using a display command
> > just after the lookup made no difference on my end either - in
> both cases
> > no updates to the sys fields.  My initial version simply ended right
> > after the lookup.
> >
> > Bruce
> >
> > Bruce Easton
> > STN, Inc.
> >
> > _______________________________________________
> > Filepro-list mailing list
> > Filepro-list at lists.celestial.com
> > http://mailman.celestial.com/mailman/listinfo/filepro-list
> >
> >
> >
>
> _______________________________________________
> 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