Thanks Ivan, the problem was I wasn't closing the db properly in Studio, I was just selecting another db from the left hand column. Now that I'm explicitly telling the db to close I've been able to open LiveCode at the same time.<br>
<br>I did think about the Server, but I have enough trouble just getting my mind back into Valentina ADK mode that to add any idiosyncrasies regarding the Server just isn't worth it right now.<br><br>A couple of clicks to Close and Open the database is a HUGE improvement over Quiting and Starting.<br>
<br>Thanks<br><br><div class="gmail_quote">On Thu, May 3, 2012 at 2:22 PM, Ivan Smahin <span dir="ltr"><<a href="mailto:ivan_smahin@paradigmasoft.com" target="_blank">ivan_smahin@paradigmasoft.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><div class="h5"><br><div><div>On May 3, 2012, at 5:22 AM, Kay C Lan wrote:</div>
<br><blockquote type="cite">Every now and then I get involved into a small project involving Valentina ADK & Revolution (LiveCode) so it normally takes me a little time to get the mind back up to speed.<br><br>I just wish to confirm that the following is necessary:<br>
<br>I regularly hit a snag where Val returns an Error code.<br><br>To isolate whether it is a Val, Rev or more likely my code I start up Val Studio and enter the appropriate command there.<br><br>To do that, as the ADK is a single instance, I need to Quit Rev, Start Studio, do my thing, then Quit Studio and Start Rev all over again.<br>
<br>Am I wasting time here?<br><br>I've tried issuing a closeCard command which contains VDatabase_Close(DbRef) and valentina_shutdown() commands, but that doesn't work. I've tried 'Close and Remove from memory" but that doesn't work - I assume as the Rev IDE is still running the Val extension is still loaded?<br>
<br>I've tried de-selecting the DB in Studio but that doesn't work.<br><br>Unless I Quit one, before I start the other, one will typically crash - usually Rev.<br><br>So is there a trick to keeping both Studio and the Rev IDE running or must I always Quit one to work with the other?<br>
<br></blockquote></div><div><br></div></div></div>The only thing required for local database is db.Close() in LiveCode before db.Open in vStudio and vice versa.<div>Also you can consider using vServer (at least for development) instead of local databases - there is free of such limits - any db can be accessed from different application simultaneously.</div>
<span class="HOEnZb"><font color="#888888"><div><br><div>
<span style="text-indent:0px;letter-spacing:normal;font-variant:normal;text-align:-webkit-auto;font-style:normal;font-weight:normal;line-height:normal;border-collapse:separate;text-transform:none;font-size:medium;white-space:normal;font-family:Helvetica;word-spacing:0px"><div>
-- <br>Best regards,<br>Ivan Smahin<br>Senior Software Engineer<br>Paradigma Software, Inc<br>Valentina - The Ultra-Fast Database<br><a href="http://www.valentina-db.com/" target="_blank">http://www.valentina-db.com</a></div>
</span>
</div>
<br></div></font></span></div><br>_______________________________________________<br>
Valentina mailing list<br>
<a href="mailto:Valentina@lists.macserve.net">Valentina@lists.macserve.net</a><br>
<a href="http://lists.macserve.net/mailman/listinfo/valentina" target="_blank">http://lists.macserve.net/mailman/listinfo/valentina</a><br>
<br></blockquote></div><br>