@ud and @ub updated

Kenneth Brody kenbrody at bestweb.net
Fri Apr 6 14:59:36 PDT 2007


Quoting Bruce Easton (Fri, 6 Apr 2007 17:54:01 -0400):

> Kenneth Brody wrote Friday, April 06, 2007 5:36 PM:
> > To: Dennis Malen
> > Cc: filepro-list at lists.celestial.com
> > Subject: Re: @ud and @ub updated
> >
> >
> > Quoting Dennis Malen (Fri, 6 Apr 2007 17:21:02 -0400):
> >
> > > I have @ud and @ub in the screen. When I am taken to that record it
> > > updates both without ever going into update.
> >
> > Umm...  You're in @key processing, which _is_ in update mode.  If
> > your @key doesn't take you into a screen, then you simply come out
> > of update mode when you hit the END statement.  By the time filePro
> > redraws the screen at the end, you have updated that record, and so
> > @UD/@UB are updated to reflect this.
[...]
> Ken  - I'm not seeing that on 5.014.  If I just end right after the
> lookup -, my @ud and @ub are unchanged - on the screen or when I go
> back to the browse.  I wouldn't think you are in update mode from @key
> unless before the end you do a screen or popup command.  I even tried
> a display command (by itself) and it still did not change @ud/@ub.

It's possible that his code modifies a field, forcing the modified
record to be written out.

You are definitely in update mode in @key processing.

I would have to check what happens in @key if you make no changes to
any real fields.  It may be that the record does not get written out
when @key processing ends if no changes were made in @key.

--
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list