Solved

Save an Access Database with a different Ext.

Posted on 1998-05-30
8
157 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

911 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now