variable lookups possible?
Jeff Harrison
jeffaharrison at yahoo.com
Wed Jul 21 06:34:25 PDT 2004
Fairlight <fairlite at fairlite.com> wrote:
<snip>
I need to know
whether the following can be variables in the
following contexts:
lookup generic=SOMEVARIABLE i=ANOTHERVAR ...
<snip>
--------------------------------------------
The lookup file name and qualifier can be variable,
but not the index - at least not without creating a
processing table that creates another processing
table.
However, about a year ago I wrote a generic, callable
processing table that one could call after setting
three variables (lookup file, qualifier, and index).
The call table then automatically built the browse.
Here is a snippet of that code.
:jhbidx eq "A":lookup blk = (jhbfile{"@"{jhbqual{"")
k=ky i=A -ng b=(brwfmt):
:jhbidx eq "B":lookup blk = (jhbfile{"@"{jhbqual{"")
k=ky i=B -ng b=(brwfmt):
The other nice thing that was available with this
process was left-right scrolling within the browse,
and of course the browse format and headers were
created automatically.
I'd be happy to forward the code for this to anyone
that may be interested. Just respond privately.
Jeff Harrison
jeffaharrison at yahoo.com
Author of JHExport and JHImport. The fastest and
easiest way to generate code for filepro exports and
imports.
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
More information about the Filepro-list
mailing list