FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour SqLite in network
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: SqLite in network
Posted: Sat Oct 29, 2011 07:37 AM

Hello Ramesh,
Sqlite3 hasn't a user/psw authentication. If you want to limit the access you should crypt the database using:
1 - the SEE encryption module
2 - or the variour crypt add-ons available
3 - or crypting the data from yourself

The 1 and 2 methods are obviusly preferrable if you want provide odbc facilities.

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: SqLite in network
Posted: Sun Oct 30, 2011 04:00 AM

Mr.Marco,

Thank you very much for the valuable information.

Regards,

  • Ramesh Babu
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: SqLite in network
Posted: Tue Nov 01, 2011 08:55 AM

Hello Marco !

What browse you are using with tsqlite object ? If xBrowse , can you show a small sample how it can be done ?

 Many thanks in advance ! With best regards !
Rimantas U.
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: SqLite in network
Posted: Tue Nov 01, 2011 12:42 PM
Mr.Rimantas,

May be this is useful to you.

Code (fw): Select all Collapse
oSQL := TSQLiteServer():New( "DataBase" )
oQry := oSQL:Query( "select * from clients" )
XBROWSER oQry:aData


Regards,

- Ramesh Babu P
Posts: 437
Joined: Fri Oct 07, 2005 12:56 PM
Re: SqLite in network
Posted: Tue Nov 01, 2011 02:06 PM
RAMESHBABU wrote:
May be this is useful to you.
Code (fw): Select all Collapse
oSQL := TSQLiteServer():New( "DataBase" )
oQry := oSQL:Query( "select * from clients" )
XBROWSER oQry:aData




Mr.Ramesh , thank you . It will be usefull , I think . But :aData it's array, as I can understand from tsqlite.prg . More usefull it can be sample with real data from query and possibilities to build and manage xbrowse columns . I'm interesting in 'lookup' subqueries , that is in the main xbrowse , editing cell call subquery ( from combobox or string edit ) . How I can to do something like that ?

With best regards !
Rimantas U.
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: SqLite in network
Posted: Wed Nov 02, 2011 01:34 PM

Mr.Rimantas,

I am also new to Sql. Just I started playing with it.

Regards,

  • Ramesh Babu P
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Re: SqLite in network
Posted: Wed Nov 02, 2011 02:30 PM

Hi Rimantas,
due to the kind of products developed I load the sql data into an array for browsing
but I don't know if this solution is suitable for you. It depends essentially from the number of records to browse.

Best Regards,



Marco Turco

SOFTWARE XP LLP
Posts: 1195
Joined: Mon Oct 17, 2005 05:41 AM
Re: SqLite in network
Posted: Fri Nov 11, 2011 08:30 PM

Hi,

I also want to start using SQLite.
What do I need to use it (library,wrappers,...)?

Regards,
Marc

Regards,

Marc



FWH32+xHarbour | FWH64+Harbour | BCC | DBF | ADO+MySQL | ADO+MariaDB | ADO+SQLite
Posts: 15
Joined: Mon Sep 29, 2008 01:41 PM
Re: SqLite in network
Posted: Thu Dec 15, 2011 12:44 PM
Rimantas wrote:
RAMESHBABU wrote:
May be this is useful to you.
Code (fw): Select all Collapse
oSQL := TSQLiteServer():New( "DataBase" )
oQry := oSQL:Query( "select * from clients" )
XBROWSER oQry:aData




Mr.Ramesh , thank you . It will be usefull , I think . But :aData it's array, as I can understand from tsqlite.prg . More usefull it can be sample with real data from query and possibilities to build and manage xbrowse columns . I'm interesting in 'lookup' subqueries , that is in the main xbrowse , editing cell call subquery ( from combobox or string edit ) . How I can to do something like that ?

With best regards !


oQry := oSQL:Query( "select * from clients" )
change to:
oQry := oSQL:Query( "select * from clients", .F. )
Posts: 129
Joined: Mon Oct 17, 2005 03:03 AM
Re: SqLite in network
Posted: Fri Dec 16, 2011 01:04 AM

New version of TSQLIte is release and fix some bug and support 'DATE' and 'TIMESTAMP' of field type.

line ID: ssbbstw

WeChat ID: ssbbstw

Continue the discussion