>>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.
>>
>
>What version of VFP are you using? That function was added in VFP6...
I am using VFP6, but I'm so grren with this stuff that I didn't understand what I was reading under help.
As for the missing quote, I should have noticed that.
I now have the code compiling, but I'm back to the "Function requires row or table buffering." I've added the line:
CursorSetProp("Buffering", 5, "Product")
And I still get the same error. I've tried it just before and just after the "Select Product" line.
___________________________
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