[Gambas-user] Sqlite

Martin mbelmonte at belmotek.net
Fri Mar 19 09:33:42 CET 2021


You must put the database file in User.Home in the first start then 
point to:

Copy "./voc.sqlite3" To User.Home &/ "voc.sqlite3"

...

Con.Host = User.Home

Con.Name = "voc.sqlite3"

...

Regards

Martín.

El 19/3/21 a las 7:39, Shane escribió:
> HI Group I have this code
>
>              Try Con.Close()
>                    Con.Type = "sqlite3"
>                    Con.Host = "./"
>                    Con.Name = "voc.sqlite3"
>                    Con.Open()
>                     Print "Connected : " & Con.Opened
>
> this works fine in the editor but when i make a Deb of this and run it 
> tells me it can not find the file
>
> any ideas
>
> cheers shane
>
>
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----


More information about the User mailing list