In a previous job, we had Perl scripts which could interact with a SQL
DB using Perl's DBI module We were able to programmatically add,
delete and query tables using this module.
Is it possible to do something similiar with Perl? (and not VBA)???
The reason I ask is because I want to use Access instead of MySQL
because
with Access, I can design Forms and Queries to display data relatively
quickly. With MySQL, I'd have to use third party or open source SW.
I am planning on grabbing baseball statistics from websites using Perl
(the Perl LWP module). With the raw data, I will process it and then I
want to use Perl to add the data to the MS Access DB. This might mean
adding records to a table to modifying existing records in a table. Is
there a way to interfact with Access DB using Perl?
Doomster 6 2462
You can use the ADO library with Peral, and thus you can use a mdb.
You will have to have JET installed on the pc, and having done so, then you
can use the DBI module...
"JET" used to be a separate download in the download section. I don't know
where it went to, but if you got ms-access installed, then you got JET
installed, and should thus be able to use a mdb file with perl.
Just do a web search for
perl ado jet
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada pl*****************@msn.com http://www.members.shaw.ca/AlbertKallal
Jet is installed and updated with Windows.
You can connect to Jet using an ODBC or OLEDB
connector (No native JDBC available), or using the
ADO or DAO COM objects.
So you can connect using Perl's DBI - or you have
a choice of other methods.
(david)
"Doomster" <do******@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com... In a previous job, we had Perl scripts which could interact with a SQL DB using Perl's DBI module We were able to programmatically add, delete and query tables using this module.
Is it possible to do something similiar with Perl? (and not VBA)???
The reason I ask is because I want to use Access instead of MySQL because with Access, I can design Forms and Queries to display data relatively quickly. With MySQL, I'd have to use third party or open source SW.
I am planning on grabbing baseball statistics from websites using Perl (the Perl LWP module). With the raw data, I will process it and then I want to use Perl to add the data to the MS Access DB. This might mean adding records to a table to modifying existing records in a table. Is there a way to interfact with Access DB using Perl?
Doomster
"Doomster" <do******@gmail.com> wrote in
news:11**********************@z14g2000cwz.googlegr oups.com: In a previous job, we had Perl scripts which could interact with a SQL DB using Perl's DBI module We were able to programmatically add, delete and query tables using this module.
Is it possible to do something similiar with Perl? (and not VBA)???
The reason I ask is because I want to use Access instead of MySQL because with Access, I can design Forms and Queries to display data relatively quickly. With MySQL, I'd have to use third party or open source SW.
I am planning on grabbing baseball statistics from websites using Perl (the Perl LWP module). With the raw data, I will process it and then I want to use Perl to add the data to the MS Access DB. This might mean adding records to a table to modifying existing records in a table. Is there a way to interfact with Access DB using Perl?
Albert has provided you with a lead on this, so I won't address it.
I just want to be sure that you understand (you seem to) that you
will only be able to interact with the tables and queries, and not
with the forms and reports, through Perl.
Well, I guess it would be theoretically possible to use COM from
Perl, but it would be every messy, and very unlikely to be allowed
by an ISP.
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
David,
I just want to use Perl to get data from websites (baseballs stats),
then input them into the DB. This I want to automate because inputting
data into the MS Access DB is labor intensive.
The queries and using forms will be done manually.
This works fine. I just got to get it to work with JET.
Trust me, there will be further questions from me on this board
:-)
Doomster
"Doomster" <do******@gmail.com> wrote in
news:11**********************@z14g2000cwz.googlegr oups.com: I just want to use Perl to get data from websites (baseballs stats), then input them into the DB. This I want to automate because inputting data into the MS Access DB is labor intensive.
The queries and using forms will be done manually.
This works fine. I just got to get it to work with JET.
Trust me, there will be further questions from me on this board
Well, if they are about desiging your Access application, this is
the right place to ask.
But if it's about how to use Perle to scrape websites, you're not
going to find much help here, as most of the issues you'll encounter
are likely to be peculiar to Perle's way of working with whatever
data interface to your Jet data you use (ODBC or ADO). The Jet end
of that is pretty much completely trivial, with hardly any problems
specific to Jet that you'd likely find help with in this newsgroup.
I would say you'd be better off asking those questions in a Perle
forum, where it's quite likely that people have worked with data
stored in Jet MDBs.
--
David W. Fenton http://www.bway.net/~dfenton
dfenton at bway dot net http://www.bway.net/~dfassoc
> Well, I guess it would be theoretically possible to use COM from Perl
$objConn = Win32::OLE->new('ADODB.Connection');
$objConn->open($strConn);
$objRS = $objConn->execute($strSQL);
(david)
"David W. Fenton" <dX********@bway.net.invalid> wrote in message
news:Xn**********************************@216.196. 97.142... "Doomster" <do******@gmail.com> wrote in news:11**********************@z14g2000cwz.googlegr oups.com:
In a previous job, we had Perl scripts which could interact with a SQL DB using Perl's DBI module We were able to programmatically add, delete and query tables using this module.
Is it possible to do something similiar with Perl? (and not VBA)???
The reason I ask is because I want to use Access instead of MySQL because with Access, I can design Forms and Queries to display data relatively quickly. With MySQL, I'd have to use third party or open source SW.
I am planning on grabbing baseball statistics from websites using Perl (the Perl LWP module). With the raw data, I will process it and then I want to use Perl to add the data to the MS Access DB. This might mean adding records to a table to modifying existing records in a table. Is there a way to interfact with Access DB using Perl?
Albert has provided you with a lead on this, so I won't address it.
I just want to be sure that you understand (you seem to) that you will only be able to interact with the tables and queries, and not with the forms and reports, through Perl.
Well, I guess it would be theoretically possible to use COM from Perl, but it would be every messy, and very unlikely to be allowed by an ISP.
-- David W. Fenton http://www.bway.net/~dfenton dfenton at bway dot net http://www.bway.net/~dfassoc This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marta |
last post by:
Hi all!
I would to study a web programming language to create a PHP script
(output.php) that, given the following
input page (input.htm) where...
|
by: Joe Cheng |
last post by:
I'm curious about something... many Artima.com members who have a Java
background and learned Python have come to the conclusion that Java and...
|
by: Jonas |
last post by:
Good day, I have a .bat script I'm invoking thru a cgi script (PERL)
with (NT/IIS) on a internal network. The .bat script is having
problems...
|
by: Jerome |
last post by:
Hi, I'm a bit confused ... when would I rather write an database
application using MS Access and Visual Basic and when (and why) would I
rather...
|
by: BigDaDDY |
last post by:
Um yeah....In case you haven't figured it out, Microsoft sucks. I'm going
to be kicked back in my chair eating popcorn and watching football 10...
|
by: Pecanfan |
last post by:
I've got quite a large database which is totally form-driven at the moment.
I now need to allow multiple users access to various parts of it and,...
|
by: Kanthi Kiran Narisetti |
last post by:
Hi ALL,
I am new to C and programming . I need suggestions for the IDE to be
used as a begginer and should I start on Windows or Linux ??
I...
|
by: stylecomputers |
last post by:
Hey guys,
I am absolutely new to Linux programming, with no w######s programming
experience except a small amount of C++ console apps....
|
by: deko |
last post by:
For building Windows desktop apps, the clear favorite is C#. But my clients
can't afford to buy Microsoft products. So I need to develop software...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: Matthew3360 |
last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: Oralloy |
last post by:
Hello Folks,
I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA.
My problem (spelled failure) is with the...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...
| |