Variable Database in revdb_connect

Björnke von Gierke bvg at
Wed Jan 4 12:16:05 EST 2006

You got some errors in your query...
try this string:

put revdb_connect("sqlite", database ,,,,, "Address at", "bdJycJ") 
into tConID

also it is recommended to always quote strings, as it could get you in 
trouble if you later make a variable with that name:

put "x12provider" into database

On Jan 04 2006, at 18:02, Jeff Honken wrote:

> on mouseUp
>      put x12provider into database
>   put revdb_connect("sqlite","& database
> &",,,,,"Address at","bdJycJ") into tConID
>   if tConID is "" then
>     answer warning "Problem creating or accessing database!"
>   else
>     put tConID into gConID
>   end if
>   answer gConID
> end mouseUp

More information about the Use-livecode mailing list