Valentina
Ruslan Zasukhin
sunshine at public.kherson.ua
Sat Apr 8 04:34:17 EDT 2006
Hi Robert,
Additionally:
If talk about Valentina you need first of all do ValentinaInit()
When you finish work you do Valentina_ShutDown.
Also I wonder, have you see TUTORIAL of Valentina for Revolution?
It seems you have stick into REFERENCE of V4REV.
I am sure, it make the simplest introduction in 3 simple lessons how to use
Valentina. IF you will be able point us how to make it even more simple it
will be great.
> ---------------------------------------------------------
> 1) Create database object
>
> db = Database_New
>
> 2) Create db on disk:
>
> Database_Creaate( db, path )
>
> 3) Create Table
>
> Database_SqlExecute( db, "CREATE TABLE T1 (id ulong)" )
>
> 3) insert records
>
> Database_SqlExecute( db, "INSERT INTO T1 (id) VALUES (1)" )
> Database_SqlExecute( db, "INSERT INTO T1 (id) VALUES (2)" )
> Database_SqlExecute( db, "INSERT INTO T1 (id) VALUES (3)" )
>
>
> 4) Update Records
>
> Database_SqlExecute( db, "UPDATE T1 SET id = 55 WERE id = 1" )
>
> 5) Search table
>
> curs = Database_SqlSelect( db, "SELECT * FROM T1" )
> ...
> Cursor_Destory( curs )
>
>
> 6) Close database
>
> Database_Close( db )
--
Best regards,
Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc
Valentina - Joining Worlds of Information
http://www.paradigmasoft.com
[I feel the need: the need for speed]
More information about the use-livecode
mailing list