Solved

Save an Access Database with a different Ext.

Posted on 1998-05-30
8
156 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

744 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

12 Experts available now in Live!

Get 1:1 Help Now