<div>I just purchased Valentina ADK and am trying what I thought was a simple example but can't seem to grasp the concept. Hopefully someone can help who is familar with Valentina. I am sure Valentina is a great product...but the support and the documentation for the RunRev version leaves a lot to be desired.</div>
<div> </div>
<div>On the card, I have the following...</div>
<div> </div>
<div>on OpenCard <br>get Valentina_Init( 10 * 1024 * 1024,"","(serial number)","" ) <br>end OpenCard </div>
<div>
<p>on CloseCard<br>get Valentina_ShutDown <br>end CloseCard </p></div>
<div> </div>
<div>I created a button to just try to write a record to a database that already exists. I just can't get any data written to the database. Is there anything obvious I am missing? I am getting numeric values in the variables mDatabase, tblSpin, and f1 and f2 so I assume something is working...just no data in my table. Thanks for any help!</div>
<div> </div>
<div>on mouseUp</div>
<div><br>put VDatabase_Constructor() into mDatabase <br>get the effective filename of this stack <br>set the itemDel to slash <br>put the (item 1 to -2 of it) & slash & "Database/Spinnables.vdb" into dbPath </div>
<div><br>get VDatabase_Open( mDatabase, dbPath )<br>put VDatabase_Table( mDatabase, "Spinnables" ) into tblSpin</div>
<div><br>get VTable_SetBlank(tblSpin) </div>
<div><br>put VTable_Field( tblSpin, "Keyword1" ) into f1 <br>put VTable_Field( tblSpin, "Term1" ) into f2 </div>
<div><br>get VField_Value( f1, "test" ) <br>get VField_Value( f2, "test" ) </div>
<div><br>get VTable_AddRecord(tblSpin) </div>
<div><br>end mouseUp</div>