General information
Title:
Error 130 : Record is not locked
I have added the following code to a form and now that form produces the above mentioned error:
SELECT ModelDesc, mdlID FROM mPrices WHERE mprices.citemno = tso_detl.citemno AND ;
mPrices.cdistNo = THISFORM.cDistNo AND ;
mPrices.cSuppNo = tso_detl.cSuppNo AND ;
mPrices.nprc_Mdl = tso_detl.nPrcMdl AND ;
mPrices.cVP = tso_detl.cvpno INTO CURSOR acurBids ORDER BY modelDesc
The above code works fine as I call another form and populate a combobox with the cursor. After the code above runs it calls another routine that fails on a SELECT statement on a table that is open and in the Data Environment. Is there something I am missing in regards to Cursors?
How would I close this cursor?
Thanks for your help
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only