I am wanting to update a field in a product file so I am looking at the details of the Invoice and trying to update all of the prodcts. I have added this logic:
Select * from InvoiceDetail Where Invoice_ID = InvoiceHeader.Invoice_ID and Deleted() = .F.
Set MultiLocks On
CursorSetProp('Buffering', 5)
SCAN
Seek (InvoiceDetail.Product_ID) In Product order Product_ID
MessageBox(str(cursorgetprop("Buffering")),0,"Property?")
Replace Product.UseSeason with m.currentseason
ENDSCAN
I also have the "Set Multilock On" at the very begining of the program as well.
When I get to this code I see in the messagebox I've added that the mode is 5.
At the replace command I get the error "Function requires row or table buffering mode."
Any ideas?
Thanks
___________________________
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