Using opendir() with a filePro file name
Kenneth Brody
kenbrody at bestweb.net
Thu Apr 6 05:58:35 PDT 2006
Quoting Mike Schwartz (PC Support & Services, Appleton, WI) (Wed, 5 Apr
2006 21:20:30 -0500 (CDT)):
> I'm trying to use the opendir commands along with read to search
> through all of my processing tables and post every lookup and a few
> other important things into a separate database file on filepro
> version 5.0.5.
[...]
> opendir ("PRC_MASK",finam(lc))
>
> where lc is a counter that begins at "3", so that I skip "." and "..".
>
> There is a filePro name like InvoiceHead in finam(lc). I've even tried
> setting zd=finame(lc), then using:
>
> opendir("PRC_MASK",zd)
[...]
I assume that something isn't working, but you never said what. Can
you describe the problem that you are having? The above should work
just fine, assuming the filename you give exists, and there are prc
files for that file.
--
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