Solved

Save an Access Database with a different Ext.

Posted on 1998-05-30
8
160 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
[X]
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
  • 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
MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

738 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