473,569 Members | 2,768 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1877
DFS
"Lin DeNoyer" <lk**@cornell.e du> wrote in message
news:c1******** **@news01.cit.c ornell.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:DFSD B";
String hotelData = "";
String cSQL = "";
int i = 0;

try {
Class.forName(" sun.jdbc.odbc.J dbcOdbcDriver") ;
Connection conn = DriverManager.g etConnection(da ta, "DFS",
"password") ;
Statement st = conn.createStat ement();

//DATA FOR HOTEL PROPERTIES
cSQL = "SELECT * FROM TL_RESTRICTED_I D;";
System.out.prin tln(cSQL);
ResultSet rec = st.executeQuery (cSQL);
ResultSetMetaDa ta recmd = rec.getMetaData ();

//FIELD TYPES
System.out.prin tln(recmd.getCo lumnCount() + " columns");
for (i = 1; i <= recmd.getColumn Count(); i++)
{ System.out.prin tln(recmd.getCo lumnName(i) + ": " +
recmd.getColumn TypeName(i) + " (" + recmd.getColumn DisplaySize(i) + ")");}

//SHOW FIELD NAMES
String fieldNames = "";
for (i = 1; i <= recmd.getColumn Count(); i++)
{fieldNames = fieldNames + recmd.getColumn Name(i) + "\t";}
System.out.prin tln(fieldNames) ;
//SHOW RECORDS
while(rec.next( )) {
for (i = 1; i <= recmd.getColumn Count(); i++)
{hotelData = hotelData + rec.getString(i ) + "\t\t";}
System.out.prin tln(hotelData);
hotelData = "";
}

//CLOSE STATEMENT
st.close();
//ERROR HANDLING
} catch (SQLException s) {
System.out.prin tln("SQL Error: " + s.toString() + " "
+ s.getErrorCode( ) + " " + s.getSQLState() );
} catch (Exception e) {
System.out.prin tln("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
1694
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 database. I have MS Access XP installed on my machine. When I open the database in Access and try to open up a page, I get this error: Microsoft OLE DB...
10
6026
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 computers cannot access the database. The message is...
5
2720
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. - Tried compacting / repairing but same situation.
7
1549
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 to input the and the , something I copied from Northwind. Ok, it worked as long as I didn't exit Access 2k, the report refuses to open and there is...
4
2016
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 good. Now, I am offered to develop something more complex. And It must be done in ACCESS.I feel so comfortable in ACCESS programming that I am about...
15
4193
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 data. They are setup as follow, with a few more columns on the rights as stock prices, dividend and so on as: Date Code Country Adjust...
2
1815
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 basically this is what I'm aiming at, its nothing too complicated really. I have a table called RESOURCES which keeps track of all of the stock
22
6242
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 client (MS Access vs ..NET Windows Forms) would be preferred over the other. While I have some good arguments on both sides, I would appreciate your...
2
7576
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 fields. One is last Date and other one is next date. Lets say the last date is 30/01/2007 now the problem i am having is to get the tomorrow's date...
0
7695
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7922
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8119
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7668
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7964
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6281
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5509
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3653
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
1209
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.