[Gambas-user] How to create physically a SQLite File in agivenpath?
Felice Cafarelli
felice.cafarelli at ...324...
Sun Dec 12 19:40:06 CET 2004
Il dom, 2004-12-12 alle 17:35, Rob ha scritto:
> On Sunday 12 December 2004 04:30, Felice Cafarelli wrote:
> > I've tried to follow tutorials in examples, but nothing seems
> > to go. I got always the same error "NULL OBJECT".
> > Maybe I'm missing some steps, but what step?
> > Any idea?
>
> I've been using the gambas database manager to create my sqlite
> tables. Try looking at the gambas database manager source code?
>
> Rob
The problem is to create the file in a given path. Docs says that if
hConn.Name is an absolute path, sqlite driver will use that file, so I
supposed that if I use
hConn.Databases.Add ( sName )
I will get a sqlite file in that position, assuming that
sName = "/home/someuser/somedirectory/an_empty_sqlite_file"
or I'm wrong???
Regards
Felix
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Occhialeria.it
* Scopri le migliori marche a prezzi imbattibili
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=879&d=12-12
More information about the User
mailing list