[Gambas-user] Sqlite
PICCORO McKAY Lenz
mckaygerhard at gmail.com
Sat Mar 20 12:10:37 CET 2021
http://gambaswiki.org/wiki/howto/databasesqlite#t4
path mus be absolute or representation.. so if you do "/" database
must be in root of the linux install that is nonsense.. as said in
http://gambaswiki.org/wiki/comp/gb.db/connection
Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
El vie, 19 de mar. de 2021 a la(s) 04:34, Martin
(mbelmonte at belmotek.net) escribió:
>
> 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 ]----
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
More information about the User
mailing list