last update using get next from a different file

Kenneth Brody kenbrody at spamcop.net
Wed Sep 24 15:07:34 PDT 2014


On 9/24/2014 5:30 PM, Mike Fedkiw via Filepro-list wrote:
> Well now I think I see what's going on, maybe. If I look at the first record
> in the report the @UD date on that record is 09/15/14 and so is every other
> date for the 20k records within the report.

Then every record was updated 15-Sept-2014.

> But this I don't understand at all, I tried to do a gosub lookup using the
> record number to get the @ud of that record and it still fills in the
> 09/15/14 date on everything. I'll put a couple pieces of the code below so
> you can see what I'm doing. I used the invy(@rn) because that seems to work
> perfectly fine, now I am really lost.
>
> start  ◄ If:
>         Then: lookup invy  k=xx   i=E -ng
[...]

Forget about the lookup entirely.  Go into dscreen on "invy", and add "!@UD" 
to a screen.  Then go into dclerk directly to the "invy" file, and scroll 
through the files.  What does @UD show?

-- 
Kenneth Brody


More information about the Filepro-list mailing list