Valentina Help

Ivan Smahin ivan_smahin at paradigmasoft.com
Wed Sep 22 02:32:49 CDT 2010


Hello Warren,

Wednesday, September 22, 2010, 1:05:41 AM, you wrote:

> 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.
>

You missed VDatabase_Close call. It could be the reason.

> On the card, I have the following...
>  
> on OpenCard 
> get Valentina_Init( 10 * 1024 * 1024,"","(serial number)","" ) 
> end OpenCard 
> on CloseCard
> get Valentina_ShutDown 
> end CloseCard 
>  
> 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!
>  
> on mouseUp

> put VDatabase_Constructor() into mDatabase 
> get the effective filename of this stack 
> set the itemDel to slash 
> put the (item 1 to -2 of it) & slash & "Database/Spinnables.vdb" into dbPath

> get VDatabase_Open( mDatabase, dbPath )
> put VDatabase_Table( mDatabase, "Spinnables" ) into tblSpin

> get VTable_SetBlank(tblSpin) 

> put VTable_Field( tblSpin, "Keyword1" ) into f1 
> put VTable_Field( tblSpin, "Term1" ) into f2 

> get VField_Value( f1, "test" ) 
> get VField_Value( f2, "test" ) 

> get VTable_AddRecord(tblSpin) 

> end mouseUp



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



More information about the Valentina mailing list