Why am I get this syntax error?

Boaz Bezborodko boaz at mirrotek.com
Fri Feb 22 05:13:46 PST 2013


On 2/21/2013 6:01 PM, Kenneth Brody wrote:
> On 2/21/2013 5:00 PM, Boaz Bezborodko wrote:
>> I have a line of code that looks like this:
>>
>> nord(209)=DOEDIT(ord(15),phone)
>
> Do you have a field named "phone"?
>
> My guess is that "phones" is the edit you want to apply, in which 
> case, you want it in quotes:
>
>    nord(209) = doedit(ord(15),"phone")
>
>> nord is a lookup file and ord is an IMPORT WORD file.  Filepro is giving
>> me a syntax error during tokenization on this line even though a
>> previous, and nearly identical line is accepted.  That line looks 
>> like this:
>> nord(27)=DOEDIT(ord(13),zip)
>
> My guess is that you do, indeed, have a field named "zip", making the 
> above syntactically correct, but not what you want.
>
> [...]
>

That was it.  Thanks.



More information about the Filepro-list mailing list