Thanks, I was too busy looking for something less obvious.
Not the first time that has bit me.
>>I understand this pretty much, but not really this line.
>>
if indexseek(InvLinesCursor.Product_ID, .t., 'product', product_id')
>>
>>However, I tried it anyway and when I save the code it tells me "Function Name missing". I suspect I'm missing a delimiter of some sort.
>
>You omitted a single quotation mark before product_id.
>
>Hilmar.
___________________________
Kenneth Wonderley
http://www.wonderley.com...the fruit of the Spirit is love, joy, peace, patience, kindness, goodness, faithfulness, gentleness and self-control.
Galatians 5:22 & 23