PC Review


Reply
Thread Tools Rate Thread

Can not save the file

 
 
Ac
Guest
Posts: n/a
 
      14th Jan 2008
Hi,

I try to save the modified file; after I click the save button on the
toolbar, the Microsoft Office Access message box appear and the message is:
The Save operation failed. What is wrong? What should I change to save my
file?

 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      15th Jan 2008
On Mon, 14 Jan 2008 11:53:03 -0800, Ac <(E-Mail Removed)> wrote:

>Hi,
>
>I try to save the modified file; after I click the save button on the
>toolbar, the Microsoft Office Access message box appear and the message is:
>The Save operation failed. What is wrong? What should I change to save my
>file?


What are you trying to "save"?

An Access database file is not very much like a Word or Excel document. It's a
container for multiple tables, forms, reports and other objects. Any time you
make a change to one of the objects in the database, it's saved for you, right
then and there. It is not necessary (or even possible) to "save the database".
Similarly, there is no "Save As" option - to make a copy of the database you
must close Access and copy the .mdb or .accdb or whatever file using Windows
Explorer.

John W. Vinson [MVP]
 
Reply With Quote
 
Ac
Guest
Posts: n/a
 
      15th Jan 2008
Hi John,

After I modified the VBA code of a form, I tried to save it. When I clicked
the save button, the error message shaw up.



"John W. Vinson" wrote:

> On Mon, 14 Jan 2008 11:53:03 -0800, Ac <(E-Mail Removed)> wrote:
>
> >Hi,
> >
> >I try to save the modified file; after I click the save button on the
> >toolbar, the Microsoft Office Access message box appear and the message is:
> >The Save operation failed. What is wrong? What should I change to save my
> >file?

>
> What are you trying to "save"?
>
> An Access database file is not very much like a Word or Excel document. It's a
> container for multiple tables, forms, reports and other objects. Any time you
> make a change to one of the objects in the database, it's saved for you, right
> then and there. It is not necessary (or even possible) to "save the database".
> Similarly, there is no "Save As" option - to make a copy of the database you
> must close Access and copy the .mdb or .accdb or whatever file using Windows
> Explorer.
>
> John W. Vinson [MVP]
>

 
Reply With Quote
 
John W. Vinson
Guest
Posts: n/a
 
      15th Jan 2008
On Tue, 15 Jan 2008 09:29:02 -0800, Ac <(E-Mail Removed)> wrote:

>Hi John,
>
>After I modified the VBA code of a form, I tried to save it. When I clicked
>the save button, the error message shaw up.


It always helps to be specific in your original post: that was certainly not
obvious!

Did anyone else have the database open at the time? You must have *exclusive*
access to the entire database in order to change VBA code. For a multiuser
system you should really be using a split database, with the tables in a
shared "backend" and everything else in a "frontend"; each user would get
their own copy. As you make design changes to the frontend you can create a
..mde file (preferably) which would be distributed to the users.

If you had the database open exclusively, please post more details about just
what you were doing and the error message. Does the VBA project compile
without error (Debug... Compile on the menu)?

John W. Vinson [MVP]
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
getting the File System Object to run File Save As instead of just File Save Paul Microsoft Access Form Coding 2 18th Oct 2009 08:11 AM
Excel file becomes corupted when using Save As to save file. =?Utf-8?B?cmJvd2Rlbg==?= Microsoft Excel Crashes 0 11th Oct 2004 08:11 PM
Excel marcos firing on file save as but not file save Andy Microsoft Excel Programming 1 3rd Aug 2004 10:34 AM
Save File to Another Directory, but not change Users File Save location Mike Knight Microsoft Excel Programming 1 28th May 2004 09:06 PM
Paint cannot save this fle. Save was interrupted, so your file has not been save Stephen Bishop Microsoft Windows 2000 1 1st Aug 2003 05:45 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:51 AM.