Solved

Save an Access Database with a different Ext.

Posted on 1998-05-30
8
159 Views
Last Modified: 2010-05-03
I tried saving an Access 7.0 database as, "database.chi".  The reason for this is because I will be putting ".chi" is associated with my application and can be pulled in, by clicking on this data file.   The SAVE went fine, but when I tried loading this file I recieved errors.   What must I do or can this even be done?   This can be done if I use dBase or Foxpro, but why not Access?
0
Comment
Question by:Chizl
  • 6
  • 2
8 Comments
 
LVL 4

Accepted Solution

by:
zsi earned 50 total points
ID: 1462122
Are you loading the file into Access or VB?  It souldn't matter either way as long as you specify the name of that database along with the file extension.  Is it possible that there is another problem with the file?

zsi
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462123
I have VB Enterprise and I'm using Visual Data to create the database.   I have Office97 and within is Access7. I Saved the database with extention without problems.   I then try to open it with the Data1 OCX and it errors.  I'm a 4 year VB developer and was just playing around Ext Assocation when I notices I couldn't save as a different extention.
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462124
I have VB Enterprise and I'm using Visual Data to create the database.   I have Office97 and within is Access7. I Saved the database with extention without problems.   I then try to open it with the Data1 OCX and it errors.  I'm a 4 year VB developer and was just playing around Ext Assocation when I notices I couldn't save as a different extention.
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 4

Author Comment

by:Chizl
ID: 1462125
Damn,  I clicked reject and this server put in, who the hell knows..   I'm points are all screwed up too.   This has been going on for about 2 months for me..
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462126
Since you have the points can you or anyone else please continue helping.
0
 
LVL 4

Expert Comment

by:zsi
ID: 1462127
That *did* seem kind of strange that you accepted that answer.  I guess I am now duty bound to help you through this.  :)

Well, let's start with the obvious.  Are you using the full database name (with extension) when you open the file?  Are you opening the database explicitly through code or from the property sheet?  Oh, and are you using VB4 or 5?

In VB5 Enterprise, I linked the data control to the Biblio database file whose extension I had renamed to .MDQ.  It worked fine.

Ah, wait a minute.  What version of the Microsoft DAO library are you using?  You can determine this by looking at the References dialog.  

What is the axact error messgae that you are getting?
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462128
I have an idea of the problem.  I'm using VB5 Enterprise and this is an example I was putting together for another question asked at experts-exchange.   I'm using the data1 component to access the data.   The problem, that I think it may be, is that the database has a Memo field in it.  Whatcha think?
0
 
LVL 4

Author Comment

by:Chizl
ID: 1462129
OK, I feel stupid..  Fix has been found.  I just put in a new brain and needs time to adjust.  I was saving the database as Chizl.chi, but it was saving it as Chizl.chi.mdb.   I never really looked at the database after it was saved.  Hate when that happens..
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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