473,378 Members | 1,347 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Reading my Access database before tomorrow

I am so mad at microsoft right now! They just told me - 10 days after I
placed my order for an upgrade to Office 2003 Pro - that they canceled the
order because the credit card info didn't match the shipping info. (It did
match, unless I made an error entering the credit card number on line! But
they had my phone number, and email address, so 10 days is no excuse.)

Now I am in a bind, and so asking for help. Is there any program that will
let me read an Access database?

I need to do this before tomorrow. Tomorrow I meet with a group of
students who are doing a Java project. They will take an Access database
(and accompanying code that processes it) into Java. I need to be able to
read the database and display it completely, so that the students can see
the structure of the database.

Suggestions? (I thought of downloading a trial copy of Access, but
Microsoft doesn't allow that. I thought of going to a store and buying a
copy of Access, but I am so mad right now I refuse to shell out the $$$)

Is there a free DB program that will read my Access database? Or is there
an alternative to Access that I might prefer, given my recent experience
with Microsoft?

Thank you for any suggestions or help,
Lin DeNoyer
Nov 12 '05 #1
2 1866
DFS
"Lin DeNoyer" <lk**@cornell.edu> wrote in message
news:c1**********@news01.cit.cornell.edu...
I am so mad at microsoft right now! They just told me - 10 days after I
placed my order for an upgrade to Office 2003 Pro - that they canceled the
order because the credit card info didn't match the shipping info. (It did match, unless I made an error entering the credit card number on line! But they had my phone number, and email address, so 10 days is no excuse.)

Now I am in a bind, and so asking for help. Is there any program that will let me read an Access database?

I need to do this before tomorrow. Tomorrow I meet with a group of
students who are doing a Java project. They will take an Access database
(and accompanying code that processes it) into Java. I need to be able to
read the database and display it completely, so that the students can see
the structure of the database.

Suggestions? (I thought of downloading a trial copy of Access, but
Microsoft doesn't allow that. I thought of going to a store and buying a
copy of Access, but I am so mad right now I refuse to shell out the $$$)

Is there a free DB program that will read my Access database? Or is there
an alternative to Access that I might prefer, given my recent experience
with Microsoft?

Don't know of any free programs, Lin, but:

* try downloading a trial version of this ER diagramming tool Case Studio
http://www.casestudio.com/enu/default.aspx It will give you a far better
ER diagram than what's included in the Access Relationships window.

* you might try Kinko's. Some of their locations have Office installed on
computers you can rent by the hour/minute.

* you can buy the Access 2003 upgrade for about $100.

* here's some Java code I wrote that might get you started using the
JDBC-ODBC bridge driver to examine an Access .mdb. It won't give you any
kind of ER diagram, though.

import java.sql.*;

public class DFSPeople {

public static void main(String[] arguments) {

String data = "jdbc:odbc:DFSDB";
String hotelData = "";
String cSQL = "";
int i = 0;

try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
Connection conn = DriverManager.getConnection(data, "DFS",
"password");
Statement st = conn.createStatement();

//DATA FOR HOTEL PROPERTIES
cSQL = "SELECT * FROM TL_RESTRICTED_ID;";
System.out.println(cSQL);
ResultSet rec = st.executeQuery(cSQL);
ResultSetMetaData recmd = rec.getMetaData();

//FIELD TYPES
System.out.println(recmd.getColumnCount() + " columns");
for (i = 1; i <= recmd.getColumnCount(); i++)
{ System.out.println(recmd.getColumnName(i) + ": " +
recmd.getColumnTypeName(i) + " (" + recmd.getColumnDisplaySize(i) + ")");}

//SHOW FIELD NAMES
String fieldNames = "";
for (i = 1; i <= recmd.getColumnCount(); i++)
{fieldNames = fieldNames + recmd.getColumnName(i) + "\t";}
System.out.println(fieldNames);
//SHOW RECORDS
while(rec.next()) {
for (i = 1; i <= recmd.getColumnCount(); i++)
{hotelData = hotelData + rec.getString(i) + "\t\t";}
System.out.println(hotelData);
hotelData = "";
}

//CLOSE STATEMENT
st.close();
//ERROR HANDLING
} catch (SQLException s) {
System.out.println("SQL Error: " + s.toString() + " "
+ s.getErrorCode() + " " + s.getSQLState());
} catch (Exception e) {
System.out.println("Error: " + e.toString()
+ e.getMessage());
}
}
}


Thank you for any suggestions or help,
Lin DeNoyer

Nov 12 '05 #2
DFS,

Thank you very much for your help. I learned that the database is ultimate
simplicity (as I suspected). I think they call it flat file. 5 columns.

I will share your code with the student programmers.

Lin

Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Asim | last post by:
I seem to be having a lot of problems with running/developing web site on my XP Professional OS. I have a simple web site (using ASP/VB), which retrieves information from an Access 2000...
10
by: MHenry | last post by:
Hi, We were going merrily along for 6 years using this database to record all client checks that came into our office, including information about what the checks were for. Suddenly, network...
5
by: elieli_132 | last post by:
Hi, My problem is the following: Made changes to code in form and closed the form. Now unable to open / design the form. - Tried copying and pasting - the new one does not open /display....
7
by: Paul T. Rong | last post by:
Dear all, It is very close to the end of finishing a database, the last report I am making is kaput, what I want to do is while the report is opening, a dialog form will open first for the user...
4
by: ljubo lecic via AccessMonster.com | last post by:
I am an experienced ORACLE software developer who met ACCESS few months ago and I must say that ,so far, I am delighted. I rapidly developed a few aplications and everything is working extremly...
15
by: daniroy | last post by:
Hello everybody, your help will be very very welcome on a very classic question... I have some Excell Macro background, a little bit of VBA knowledge. I import daily from Internet series of...
2
by: Xeijin | last post by:
URGENT I have an assignment to hand in tomorrow, I need to know how to perform numeric calculations in access, I dont know very much about databases so consider this a beginner's query! Well...
22
by: Jordan S. | last post by:
SQL Server will be used as the back-end database to a non trivial client application. In question is the choice of client application: I need to be able to speak intelligently about when one...
2
by: ankz | last post by:
Hi Friends I am stuck at only one problem in the access database. I have got the label on the form and I want that label to be run by a query. I have created query where i have got only 2...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.