2010/7/18 Levente Uzonyi <leves@elte.hu>
On Sun, 18 Jul 2010, Germán Arduino wrote:
Hi Tudor:
Is as Levente says, you must define an ODBC source on a Windows PC (Alternatively on Unix you can use ODBC also).
I don't know any free ODBC drivers for Access on un*x. I only know a driver which costs 4-5 times more than the windows OS itself :). But there's a driver for mac which costs only 30 usd if you're interested.
On Linux I've used libmdbodbc from mdbtools http://mdbtools.sourceforge.net/ to migrate an access database 2 years ago. (using ruby & rubyodbc binding) Cheers, Laurent Laffont
Levente
Some examples on: http://wiki.squeak.org/squeak/2480
Cheers. Germán.
2010/7/18 Levente Uzonyi <leves@elte.hu>:
On Sun, 18 Jul 2010, Tudor Girba wrote:
Thanks Mariano!
Indeed, if I load ConfigurationOfFFI first, everything loads well.
I am a complete newbie in this area. Can anyone tell me what I should do next?
I imagine that I should connect to an Access server. If yes, how would I do that?
Also, do I need anything else, like a C plugin/library to get the C calls from ODBCLibrary going?
First you'll need a pc running windows. Then you have to create an ODBC Data Source for your Access file. Then you'll be able to create a connection to that datasource from your image.
Levente
Cheers, Doru
On 18 Jul 2010, at 09:17, Mariano Martinez Peck wrote:
On Sun, Jul 18, 2010 at 8:49 AM, Tudor Girba <tudor.girba@gmail.com> wrote: Hi,
I tried loading it, but I get : "This package depends on the following classes: ExternalLibrary ExternalStructure"
Can anyone tell me where to find these from?
This means that you need Metacello ;)
Those classes are from FFI, a pre-requisite for ODBC to work. Maybe there is a ConfigurationOfODBC somewhere...
For the moment, I recommend you to install FFI using the ConfigurationOfFFI.
Cheers
Mariano
Also, are there eternal prerequisites to work with ODBC?
Cheers, Doru
On 18 Jul 2010, at 00:35, Levente Uzonyi wrote:
On Sat, 17 Jul 2010, Tudor Girba wrote:
Hi,
Is there a way to connect to a Microsoft Access database from Pharo?
Yes, with ODBC.
Levente
I have an mdb file of 300 Mb that I would need to analyze.
Cheers, Doru
-- www.tudorgirba.com
"Next time you see your life passing by, say 'hi' and get to know her."
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com
"Speaking louder won't make the point worthier."
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- www.tudorgirba.com
"When people care, great things can happen."
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project