I haven't done this very much, so I am at a loss to remember the syntax
for a browse lookup in a variable.
Is it something like:
lookup wrtinv = (sk) k=ky i=a -ngm b="&bb&"\""
where bb holds the keys, process at, heading etc.etc.
I'm not getting any younger,, {-)
Richard D. Williams