Sqllite

Sqllite

Postby Silvio.Falconi » Sat May 18, 2013 2:08 pm

here in my town many people use sqllite , why we cannot use it with fwh?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Sqllite

Postby Marc Vanzegbroeck » Sat May 18, 2013 2:21 pm

We CAN use it with FWH.
I'am using it with ADO.

Sended with Tapatalk
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sqllite

Postby James Bott » Sat May 18, 2013 2:37 pm

Marc,

Can you post a small sample program using ADO and SQLite?

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Re: Sqllite

Postby Enrico Maria Giordano » Sat May 18, 2013 3:32 pm

The beauty of ADO is that it is engine aware (with some caveats...). You only have to change the connection string et voilà. :-)

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Sqllite

Postby Marc Vanzegbroeck » Sat May 18, 2013 5:34 pm

James Bott wrote:Marc,

Can you post a small sample program using ADO and SQLite?

Regards,
James


James,

Just like Enrico is saying, you only have to change the connection-string and install the sqlite-connector.
In a topic about FiveDBU I sended the connection-string for SQLite
http://forums.fivetechsupport.com/viewtopic.php?f=3&t=26229&start=17

For the rest, it's working like MySQL, MariaDB,..
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sqllite

Postby Silvio.Falconi » Sat May 18, 2013 9:58 pm

I tried with fwdbu BUt I not Know how open a db file ( sqllite)
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Sqllite

Postby Marco Turco » Sun May 19, 2013 4:49 pm

Hi Silvio,
there is a Sqlite class for FWH to use directly the Sqlite API (faster then ADO).
I'm using it from three years. Check on the forum.
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Re: Sqllite

Postby Silvio.Falconi » Sun May 19, 2013 5:47 pm

PUOI INVIARMI STA CLASSE PER FAVORE ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Sqllite

Postby Marc Vanzegbroeck » Sun May 19, 2013 6:58 pm

Marco Turco wrote:Hi Silvio,
there is a Sqlite class for FWH to use directly the Sqlite API (faster then ADO).
I'm using it from three years. Check on the forum.


Marco,

I used to use that also before, and it was also working very nice.
I have some customers that still use that version of my program.
I switched to ADO-SQLite because it was easyer to use the same program for MySQL and SQLite, only change the connection-string.
I use SQLite for stand-alone versions, and MySQL for network-versions.
Regards,
Marc

FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Marc Vanzegbroeck
 
Posts: 1159
Joined: Mon Oct 17, 2005 5:41 am
Location: Belgium

Re: Sqllite

Postby nageswaragunupudi » Sun May 19, 2013 11:40 pm

I switched to ADO-SQLite because it was easyer to use the same program for MySQL and SQLite, only change the connection-string.


This is the one great advantage of using ADO, when compared with other specific libraries.

Now, Mr Mark,
Where to find the OLEDB provider for SqLite? I see only priced providers.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Sqllite

Postby cnavarro » Mon May 20, 2013 12:53 am

Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6541
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Sqllite

Postby Silvio.Falconi » Mon May 20, 2013 9:33 am

on Xageslite of - use Sqllite Db Files native
http://www.ozs.com/?q=xaGeslite
On this application I not see extern Dll and my computer not have Odbc Driver Sqllite installed,
ho w this app run good ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Sqllite

Postby lucasdebeltran » Mon May 20, 2013 9:56 am

Silvio,

Their Database class supports either DBF, ADO, MySQL, etc. Same class and at start you indicate datasoruce.

Maybe Fivetech could add support to ADO into TDBF class?.

Thanks.
Muchas gracias. Many thanks.

Un saludo, Best regards,

Harbour 3.2.0dev, Borland C++ 5.82 y FWH 13.06 [producción]

Implementando MSVC 2010, FWH64 y ADO.

Abandonando uso xHarbour y SQLRDD.
User avatar
lucasdebeltran
 
Posts: 1303
Joined: Tue Jul 21, 2009 8:12 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Antonio Linares, Google [Bot] and 94 guests