syntax for copying fields using variable

Kenneth Brody kenbrody at spamcop.net
Tue Nov 24 11:18:29 PST 2015


On 11/24/2015 12:45 PM, Tim OBrien via Filepro-list wrote:
>
> Using fp 5.0.13R4 on Centos 5.4
> I wanted to use the syntax below to copy a number of fields from one
> record to another but get a syntax error.
> Is this possible?
[...]

As Bruce already pointed out, you need to alias an array to each of the
lookup files to use a variable as the field number.

For future reference, when saying that you get an error, it would help if
you included the actual, complete, error message.

-- 
Kenneth Brody


More information about the Filepro-list mailing list