Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Database

Posted on 1998-11-09
3
251 Views
Last Modified: 2010-03-04
How can i access an MsAccess database through Perl in Window NT 4.0 system
0
Comment
Question by:roger1102598
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
Bonger earned 50 total points
ID: 1206094
You need to do two things:

1.  Install NT's ODBC driver if you haven't already.
2.  Download and install the Win32::ODBC module from the
    following website:

        http://www.roth.net/odbc/

Once you have done this, create an ODBC connection for your database and interface with it using the perl module.  Installation and usage instructions are available on the page mentioned above (along with a test/demo database in the download package.)

Sincerely,
Bonger
0
 

Author Comment

by:roger1102598
ID: 1206095
Hi Bonger,

The things is how to write the module to enable me to connect and able to read and display the data in the Msaccess file. Please enlighten or help me by writing out the program. My OS is NT
0
 
LVL 1

Expert Comment

by:Bonger
ID: 1206096
Hi roger1,

Win32::ODBC is a perl module that provides you with an object
oriented library of methods that you can use to read and
write information to your database, formulate and execute
complex SQL queries, and much much more.  All the information you need is on the website in the form of instructions, FAQ's, PowerPoint slides, etc.  There is no point to me describing the methods used to open, modify, and query the database, since it is already documented on this site.

Good luck!

Bonger
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
use perl to insert into MySQL database 9 144
PERL get the value for query 4 155
Perl Sort Question 4 141
how to exit a  for loop inside a function with return value in bash 5 103
I've just discovered very important differences between Windows an Unix formats in Perl,at least 5.xx.. MOST IMPORTANT: Use Unix file format while saving Your script. otherwise it will have ^M s or smth likely weird in the EOL, Then DO NOT use m…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question