Rev built-in db access

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Sep 29 11:51:42 EDT 2006


On 9/29/06 5:23 PM, "ron" <rbarber at yhb.att.ne.jp> wrote:

> Greetings,
> I already use V4REV external in one application but recently thought I
> would try Rev's built in access for a new, simpler project. I want to
> access the Valentina db using just Rev's supplied commands but I can't
> even open a val db. I am using Rev enterprise 2.7.2 on OS X 10.3.9. The
> Val db is made for v2 of Valentina.
> 
> I have the simple:
> 
> on mouseup
>    answer file "choose file"
>    put it into fname   -------this looks like:
> /Users/ronbarber/Documents/Revolution Enterprise/2.7.2-gm-1/test.vdb
>    put revOpenDatabase("Valentina","",fname,,,,"","",) into dbid
>    put "select ref from book" into sqlword
>    put revdatafromquery(,,dbid,sqlword) into thetext
> end mouseup
> 
> I get the following for "dbid":
> 
> revdberr,invalid database type
> 
> Do I have to init Val or set the externals or is there a problem with
> the file name or...?

Hi Ron,

Do you use 2.4.2 build ?

I believe this build contains Examples/TestProject
Which do testing of each API function and RBDB way,
As well as bridge ways.

Please check it.

I have CC to Valentina list. I think Kirill can help you


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