Multiple lookups to the same file with different aliases?
Mike Schwartz
mschw at athenet.net
Thu Jun 14 18:25:15 PDT 2007
>> Multiple lookups to the same file with different aliases?
>Of course you can do that. That's one of the reasons for aliases.
--
KenBrody at BestWeb dot net spamtrap: <g8ymh8uf001 at sneakemail.com>
----------------------------
As a follow up to my own post, be SURE you "protect" your lookups if
you are going to be writing to the records you have looked up. This becomes
especially important if you're doing multiple aliased lookups to the same
file.
When I've been called in to debug filePro code after the original
filePro programmers have thrown in the towel, the most common bug I find is
that a programmer has not protected a lookup with the "P" flag. It's so
common that the first thing I do to a processing table is to grep out all
the lookups, and try to ascertain whether the lookup is probably being
written to but the record is not protected.
Mike Schwartz
More information about the Filepro-list
mailing list