FiveDBU with ADO support

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Mon May 06, 2013 11:04 am

Antonio,

Thank you for the updated version.
The database-structure is not directly open after entering the connection-string. Therefore, I can't check it with MySQL.
The problem with empty fields in SQLite is still there.

I will send you a SQLite-database + ADO-connector.
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Antonio Linares » Mon May 06, 2013 1:08 pm

Marc,

Many thanks for your files. I have installed the SQLite ODBC driver on Windows 8 64 bits, and when I try to connect from FiveDBU I get this:

Image

Any hints ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Mon May 06, 2013 1:21 pm

Antonio,

You have to use
Driver={SQLite3 ODBC Driver};Database=c:\test\ef.db
instead of
Driver={SQLite3 ODBC Driver};Database="c:\test\ef.db"
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Antonio Linares » Mon May 06, 2013 1:33 pm

Marc,

Now I get this:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Mon May 06, 2013 1:43 pm

Antonio,

Did you installed the ADO-Connector that I have send you?
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Antonio Linares » Mon May 06, 2013 2:25 pm

Marc,

I am testing now from a Windows 8 32 bits and it seems to be connecting, but I don't get the list of tables from ef.db

Do you get them ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Mon May 06, 2013 3:55 pm

Antonio,

I get the list, but only after entering the connection-string AND selecting then the file with 'Select a file'

That's why I'm telling you that it is better direcly open the database after entering the connection-string, or add a button like 'Browse the selected database'.

This is what I get
Image
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Antonio Linares » Mon May 06, 2013 5:37 pm

Marc,

I have just published an enhanced version that offers the tables after the connection and also allows to edit empty fields:

https://code.google.com/p/fivewin-contributions/downloads/detail?name=fivedbu_20130506_2.zip

Many thanks for your feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Mon May 06, 2013 6:16 pm

Antonio,

Thank you for the latest modification.
I have try it, and now I can connect to both SQLite and MySQL.
Also the editing is working! :D
I will try it to see if everything is working with both databases.
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Tue May 07, 2013 8:09 am

Antonio,

It would be nice to have also a "Recent ADO-connection Strings " menu item that is saved in the ini-file.

Sended with Tapatalk
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Antonio Linares » Wed May 08, 2013 10:00 am

Marc,

A much enhanced ADO connections management and recently used connections support :-)

https://code.google.com/p/fivewin-contributions/downloads/detail?name=fivedbu_20130508.zip

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Wed May 08, 2013 10:14 am

Antonio,

It's looking very nice, the only problem that I can't open a database :roll:

After selecting ODBC-drivers, and selecting SQLite 3, I can test the connection with success, but how do I select the database?
It show me directly an empty table-list.

How can I select my MySQL-driver?
Regards,
Marc

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

Re: FiveDBU with ADO support

Postby Antonio Linares » Wed May 08, 2013 10:27 am

Marc,

You have to create a datasource from "Control Panel", "Administrative tools", "ODBC DataSources 32":

Image

Then you select if from FiveDBU:

Image
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Antonio Linares » Wed May 08, 2013 11:06 am

Here you have a video showing how to use FiveDBU + ADO :-)

Select to reproduce it in HD from Facebook or it will look ugly :-)
https://www.facebook.com/video/video.php?v=590319987653068&notif_t=video_processed

No sound yet, sorry. Trying to fix it...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: FiveDBU with ADO support

Postby Marc Vanzegbroeck » Wed May 08, 2013 11:49 am

Antonio,

The link doesn't work.

If a go to ODBC Datasource, I don's see my SQLite or my MySQL driver.
Maybe because I see the 64bit datasource.
Where do I find the 'ODBC DataSources 32' in Win7?
Regards,
Marc

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

PreviousNext

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests