[Gambas-user] Gambas-user Digest, Vol 68, Issue 21

No Way sholzy2010 at ...43...
Thu Jan 12 23:03:40 CET 2012


Thanks, Jorge! I'll give it a try.


> 
> Message: 2
> Date: Wed, 11 Jan 2012 22:33:00 +0100
> From: Jorge Carri?n <shordi at ...626...>
> Subject: Re: [Gambas-user] Foreign Keys on SQLite3
> To: mailing list for gambas users <gambas-user at lists.sourceforge.net>
> Message-ID:
>    
> <CAOx-q9u-hD=W-w94kA_A1D745GDpKi2O_a7OuY+oRcG9WNuccw at ...627...>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> Yes it's posible. All that you have to do is
> 
> myconnecsqlite3.Open()
> myconnecsqlite3.Exec("PRAGMA foreign_keys = 1")
> 
> and foreign keys is active for sqlite3.
> 
> Regards
> 
> 
> 2012/1/11 No Way <sholzy2010 at ...43...>
> 
> > I've been searching for a way to create and use
> foreign keys in Gambas 2
> > or Gambas 3. Is it possible to set foreign keys on a
> SQLite3 db? If so, how?
> >




More information about the User mailing list