Information générale
Titre:
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement