Hi Bob,
It sounds to like what you want is the TRANS() BASIC function.
This works in UniVerse - Don't know about UniData.

TRANS (filename, record.ID, field#, control.code)
field# can also be a Dict name.
Regards,
Adrian

On 31/8/06 8:21 AM, "Bob Woodward" <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> I'm trying to set up a general use utility and what I'd like to do is to
> be able to call this utility, passing it an open file handle, a couple
> other parameters plus one that could be used to specify a dict entry
> name, not a field number.  The catch is I'd like to use the dict entry
> regardless of what type of definition it is.  Obviously there would be
> some limits but the general definition is that the dict item ultimately
> points to a piece of data.  An example would be I would want to use a
> data position field like CUST.NUM in the INVOICE file.  I'd also want to
> be able to use something like CUST.NAME in the INVOICE file which would
> be a pointer to the CUSTOMER file's NAME field.  The utility would use
> READ or maybe XLATE to obtain the desired information.  I looked at
> ITYPE() but I'm not sure that's going to get me what I'm looking for.
> In AREV it was simply using the {} brackets.
> 
> TIA
> 
> BobW
> -------
> u2-users mailing list
> u2-users@listserver.u2ug.org
> To unsubscribe please visit http://listserver.u2ug.org/
> 

-- 
Adrian Overs
Phone : +61 (0)2 9484-7160
Mobile: +61 (0)411 358 354
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to