VDN - Primary Key Constraint & Boolean Fields Question

Ivan Smahin ivan_smahin at paradigmasoft.com
Mon Mar 31 00:09:35 CDT 2014


On Mar 30, 2014, at 5:04 PM, Johnny Harris <johnny at southshore.com> wrote:

> Ivan,
>  
> I can update the record now using the cursor.UpdateRecord method, but the lock stays on the record unless I close the connection (VConnection).
>  
> Is there a way to release the lock without having  to close the connection? Sorry for such a basic question, but I can find anything in the docs.
>  
> In my code for the Update you can see I call a CloseDatabase() method in my class, but it only closes the connection if a flag is set to True, otherwise the
> connection is kept open.
>  


You should close (destroy) the cursor to release all the locks.
See our examples.

-- 
Best regards,
Ivan Smahin
Senior Software Engineer
Paradigma Software, Inc
Valentina - The Ultra-Fast Database
http://www.valentina-db.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macserve.net/pipermail/valentina/attachments/20140331/305af877/attachment-0001.html>


More information about the Valentina mailing list