Graceful Database Shutdown

Dec 21, 2007

I recently got a corrupt backend with the standard "unexpectedly quit Microsoft Access" message. This type of corruption (backend) has never happened before so I'm a little worried. I think I've taken the standard preventitive steps, but I'm hoping I can do more.

I guess I have two questions but my main one is, what's the most graceful/ideal way to close an Access database as to reduce chances of corruption?

My other question is, does the size of the database have any bearing on it's corruptibility?

View Replies


ADVERTISEMENT

Question About Force Shutdown The Database

Jan 22, 2007

I download the database from this thread http://www.access-programmers.co.uk/forums/showthread.php?t=103278 and I copy the table, form, macro and module to my database but and error is appearing showing that missing shutdownform.

Pls can any one help me.

View 1 Replies View Related

Auto Shutdown

Nov 8, 2007

Hi

Does anyone know if it is possible to create a macro (or whether there is another function) so that a database will automatically close after a period of inactivity.

There is only one form that users will see (or use) but if this form remains inactive for say 20-minutes the program shuts itself down.

My initial thought was to use Form>On Timer facility but I would need to be reset the timer after every update. This seems particularly longwinded and I'm not 100% sure it would work.

Any suggestions would be gratefully received.

Thanks.

View 2 Replies View Related

Automatic Shutdown Of Access

Apr 26, 2006

Hi everyone,

Is there a way to automatically shut down Access after a given amount of time?

I have an Access application that runs across a network. Access is the front end of a SQL Server 2000 database.

Some of the users forget to close their application at night when they leave for the day. When I come in in the mornings, I like to run the Compact and Repair, but can't because someone is still logged in. So then I have to go to each and every computer to see if they are still logged in. By the time I vist each computer, the morning is almost started and people ARE logging in for the day.

So I'm hoping to find an application that will automatically either log each computer off across the network, or that will log the application off of each individual computer after a given amount of inactivity.

Thanks for your help...

View 2 Replies View Related

Scheduled Shutdown Of Dbase

Jan 24, 2007

Hi,

I've searched the forum for a sample code on how to automatically shutdown database at a given time of the day, but i can't find any. There are lots of codes pertaining to inactivity / idle users but none on scheduled time.

My idea is to kick-off all users every 12:00nn, Monday to Saturday and then compact / backup database after.

I hope someone could assist me.

Thank you!


Sheila

View 1 Replies View Related

Forced Shutdown At Time()?

Mar 28, 2005

I am still learning access and have been helped alot by this forrum so I thought someone may be able to help me here. I am trying to experiment with security from a few different angles, privileges to folder, to database, inactivity shutdown, ect. I know that my office shuts down at 1630 hrs every day and noone comes back in till 0730 the next morning. Is it possible to ether load a script/macro on start up that will query the time every so often, and if the time is between 1700 - 0700, automatically close the program? If so could the inactivity timer sample supplied by petersoft be modified to accomplish this? If not possible, could a conditional statement be loaded on start and at a set interval after that to do something like (iif (time())<1,docmd.quit,"").

Thanks all
Narack

View 2 Replies View Related

Random Shutdown Of Access Application

Mar 31, 2007

Help !

The MS Access 2000 application I have developed for my remote client, when deployed, occasionally shutsdown with no error message and no clue as to why.

There is no common pattern that I can establish. Compact and Repair makes no difference. Have tried re-writing objects that I suspect may cause this. I have tried creating new front end and back ends and re-importing all the objects. Have tried programatically deleting and replacing all queries. Have tried converting to Access 2003 and back again.

Is there any third party trace tool that I could use, or expertise that I could engage?

My London based client is losing patience and I am staring down the barrel of 4 weeks worth of work going unpaid.

Thanks in anticipation...

--
Richard

View 14 Replies View Related

Shutdown DB On Other User's Machines From Mine?

Aug 20, 2004

Is there a way to shutdown an particular db when multiple users are logged on from my pc?
i.e. - When I need to get into design mode and can't because of other user's being logged on.

Or at least be able to send them a friendly message from within access to ask them to get out?

View 2 Replies View Related

Modules & VBA :: Timer Based Event - Auto Shutdown

Oct 9, 2014

I use a timer based event that shuts down the frontends after some idle time.

1. How to disable the timer as it causes some weird bahaviours while editing the code? is shuting down the hidden form enough?

2. Is there a way to add regular maintenance intervals, i.e. every wednesday at 20.00.? how?

View 2 Replies View Related

Database Size Limited To 2GB / Query Multiple Database Without Linking Tables?

Sep 7, 2011

I'm trying to set up a simple query that links four tables. However, the tables are extremely large, all in excess of 1.5GB each so I had to split the tables up into four separate DBs. I've tried the following with no success:

1) Link the 4 tables in the DB which contains my primary key. This quickly inflates increases the file size above 2GB and won't let me go any further.

2) Build a remote query to connect the four tables. This looked promising until I tried to run the query and it became evident that it only knows to point to the last database source that you specified.

I'm running everything locally on my C drive. The data source are simple text files (1.6 million rows) from the FDA website.

View 3 Replies View Related

Forms Count Of Other Database Without Opening That Database Physically

Oct 7, 2005

Hello All...

Well, I am facing one problem..in my application; I need to show all forms / reports name of other database( .mdb ) file without opening the other database physically. I tried a lot but didnt succeded. I tried with below code..

Set AcApl = New Access.Application
Call AcApl.OpenCurrentDatabase(strfolder, True)
Set AcProj = AcApl.CurrentProject

Set frm1 = AcProj.AllForms

intCount = frm1.Count

But here wen the second line AcApl.opencurrentdatabase get executed at that time the database get open physically, and i dont want that..So is there any other way around..If so..please please help me..

Thanks in advance..!!

View 4 Replies View Related

Modules & VBA :: Open Database / Run A Query / Close Database

Aug 22, 2014

i have a database that runs updates from within itself.what i need is, this database to then open a another database run a update query, then close it.

View 4 Replies View Related

General :: Updating From Local Database To Central Database

Sep 12, 2012

Database: Access 2007

I have designed a touchscreen input system using Visual Basic.net and this writes to an Access Database. Each Touchscreen has its database locally so it can still work even if there are Network problems.

Now what I would like to do is have all these local databases write to a central database say every minute but only write new records to the central database. The Central Database can either be Access or SQL.

What is the best way to do this?

View 1 Replies View Related

General :: Database For Metal Market Prices To Be Used In Another Database

Jun 24, 2015

I have been working on a database for over a month now, and my boss just threw a monkey wrench in my work. I believed that the Metal Market Prices would be entered once a week in the current DB. My boss informs me today that he wants an employee to go in every morning and enter that days Price for Each Metal with respect to many different markets.

There is a total of 12 metals, and 5 markets. I need the data to be stored first by date, then by either market or metal, and lastly by which ever isn't used second (Either: date-market-metal, or date-metal-market). I think the Latter of the two methods makes the most sense. Is it possible for my current DB to lookup values from the Metals Database based on date-metal-market?

View 14 Replies View Related

Jet Database Engine Error On Non-shared Database

Jul 7, 2005

I have a problem that seems to be happening on several users' databases and is causing a big problem. None of the databases is a shared database...they are all single-user databases on stand-alone computers. I have tried looking for help within previous posts, but all seem to be related to shared databases.

I am getting an error message: "The Microsoft Jet database engine stopped the process because you and another user are attempting to change the same data at the same time." The database cannot be opened, imported, repaired...nothing seems to work.

Again...these are NOT shared databases. I appreciate any help I can get. I created the database for all of the secretaries in our school district to keep up with absence data. It involves many tables, queries, forms and reports, and has generally worked well. However I am now seeing several that are getting similar errors as mentioned.

Thanks!

View 3 Replies View Related

Best Way To Import SQL Database To Local Access Database?

Dec 25, 2005

I'm new to Access and VBA, for the record. What I need to do is copy a SQL database (table structures and records) and save it as a local Access database, so that the user can query and make any changes on the local file without editting the SQL database.

Looking around, it seems like the best option would be to use the TransferDatabase method with the acImport option. Does this sound reasonable, or can someone with more experience suggest a better way to go about it? Thanks.

View 3 Replies View Related

Tables :: Create A New Database Y And Link To Database X

Aug 28, 2013

I am testing the security of my DB X on Acccess 2007. I could create a new database Y and linked to the database X. Unfortunately i could change the records on the tables. I don't want other DB that make connections to my DB to change my tables!

View 1 Replies View Related

Accessing A Table In Database A From Database B

Aug 29, 2005

Is it possible to access a table in one Database (Database A) from a separate Database (Database B) and if so how. I should clarify that this is an Access Database.

View 2 Replies View Related

Create EXE From Database And Have Several Project Using Same Database

Oct 24, 2013

I created a database with forms, querys, etc. Now I was thinking of creating a exe so everyone can use this database without having access to all the design functions.

the only problem I see about doing this is if we need to use the same database for different project, we need to always create a new exe for each project.

Is there a way to make a empty database exe with just the layout, querys etc but with no data on the tables and have a save, open and save as option. So we can have several projects using the same database?

I was thinking to create a VB code for the database to delete all data on the tables when the database is open.
and before closing the database exporting all the data to a txt file or something.

Then the next time someone opens the database goes to the main form which has a open bottom which imports the txt file into the tables.

This way we can have several txt file for several project and use always the same exe database.

View 4 Replies View Related

Linking To Another Database From On Database

Nov 20, 2006

I am working on a database that will be an addition to an existing one on the company server. However, to make the overall layout not so complex and allow room for other additions in the future, I'd like to keep the databases separate. This will also ensure more efficiency, integrity and troubleshooting overall.

Does anyone know how this is done?

Thank you in advance for your help,

~Kilch :eek:

View 4 Replies View Related

How Can I Save My Database As A MDE Database.

Oct 2, 2007

The menu for make a MDE file is blanked out or grey’d out. The database is partly made using access 2000 then xp

Jabez

View 6 Replies View Related

Launching Another Database From Within A Database?

Dec 21, 2013

I have a series of unrelated access databases and I would like to have one 'super menu' where i can click a button to go to different databases.

View 3 Replies View Related

Car Database Help!

May 24, 2005

I have a car dealership database and have a servicing section.

I want to create a form to service these vehicles.

The only vehicles which will be displayed on the from are the sold ones (because you cannot service a vehcile which hasnt been sold) which i have a query for.

I also want the form to display the customer who owns the car the service details (eg what they need), the parts availiable and the parts required for the service.

The calculations i need to make in this form are as follows

quantity needed (parts required table) - quantity in stock (purchasing customer parts table)

quantity needed (parts required table) * price (Parts Table) + labour (servicing table) = part/labour costs (servicing table)

http://pic18.picturetrail.com/VOL885/3178839/6480291/97832270.jpg

any suggestions on how to do this would be fantastic

View 2 Replies View Related

I Really Need Help With My Database

Jan 4, 2006

i havent been able to figure out how to get my subform to work properly....
i've posted in the forms section (http://www.access-programmers.co.uk/forums/showthread.php?t=99624 )

it is really important that i figure this out so that i can keep my job..

how else can i obtain help? even if i have to pay for it?

what do you guys suggest?

View 4 Replies View Related

Can't Log On To Database

Feb 13, 2006

Hi all,

I was playing with passwords for one of my access db.

I tried opening the db with the password, but it won't work. So, I thought I forgot the password. I checked some posts on this forum that helped in retrieving the password and it's the same that I have been trying. I am not sure if the Name is correct, is there a way to retrieve the log on name?

I also noticed that when I try opening any other db on my system, it asks me to log on, I though I was only applying a password to one file.

Please help

Thanks!

View 3 Replies View Related

Database

Apr 3, 2006

Hello Here is my question I have a datbase with 4 tables
I have one of the table related to the other 3 by agent name.

I Have a page with the agents and all thier info. NO problem
I want to create a link from each agent to thier listings..

Do I need to have a seprate page for each agent or can one page
create the info I need with that agent..??

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved