473,398 Members | 2,188 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

Please Help Acc97 Database has Got the Better of me

I have been developing a commercial Access Application for some four years
now, the mde file is over 30Mb without data, I have recently been approached
to make some additions, but due to my poor attempts at DB design in the
beginning this is proving to drive me crazy.

I have used a lot of vb to open/read/append tables and am concerned that I
may not of Closed all the dB's is there a way at runtime I can tell which
tables are still open ?

Thanks in advance, to anyone willing to help.

Regards

Dave

Nov 13 '05 #1
3 1348
David,

Tables are never opened as such; you merely extract data from them in different
ways. However, database objects can be left open after executing a procedure.
Look at each procedure in your database. If you followed standard practice, all
your Dim statements should be at the beginning of the procedure. If you dimmed
an object you probably created it with a Set statement. When you find a
procedure where an object has been dimmed, look at the end of the procedure to
see if it has been set to Nothing. If it hasn't been set to Nothing, it's open.

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com

"David Holmes" <Dh*****@aol.com> wrote in message
news:cc**********@sparta.btinternet.com...
I have been developing a commercial Access Application for some four years
now, the mde file is over 30Mb without data, I have recently been approached
to make some additions, but due to my poor attempts at DB design in the
beginning this is proving to drive me crazy.

I have used a lot of vb to open/read/append tables and am concerned that I
may not of Closed all the dB's is there a way at runtime I can tell which
tables are still open ?

Thanks in advance, to anyone willing to help.

Regards

Dave

Nov 13 '05 #2
Nothing automatic that I am aware of. I had the same situation arise
(smaller scale, tho... FE is about 11 MB). I methodically searched
every module for an instance of Dim .... AS Database, and manually
looked for a corresponding ... Nothing statement.

I suggest you also look for closing and ... Nothing for any Recordset
objects.

Not much help, but eliminating the unclosed objects does improve the
application's stability.
On Wed, 7 Jul 2004 23:35:33 +0000 (UTC), "David Holmes"
<Dh*****@aol.com> wrote:
I have been developing a commercial Access Application for some four years
now, the mde file is over 30Mb without data, I have recently been approached
to make some additions, but due to my poor attempts at DB design in the
beginning this is proving to drive me crazy.

I have used a lot of vb to open/read/append tables and am concerned that I
may not of Closed all the dB's is there a way at runtime I can tell which
tables are still open ?

Thanks in advance, to anyone willing to help.

Regards

Dave

**********************
ja**************@telusTELUS.net
remove uppercase letters for true email
http://www.geocities.com/jacksonmacd/ for info on MS Access security
Nov 13 '05 #3
You can iterate through the open workspaces (you probably
only have one open workspace) and databases (you probably
only have one open database) and open recordsets (you probably
haven't got any open: they go out of scope and close
automatically)

application.DBEngine.workspaces(i).Databases(j).Re cordsets(k)

using Count and i,j,k or using For Each

(david)
"David Holmes" <Dh*****@aol.com> wrote in message
news:cc**********@sparta.btinternet.com...
I have been developing a commercial Access Application for some four years
now, the mde file is over 30Mb without data, I have recently been approached to make some additions, but due to my poor attempts at DB design in the
beginning this is proving to drive me crazy.

I have used a lot of vb to open/read/append tables and am concerned that I
may not of Closed all the dB's is there a way at runtime I can tell which
tables are still open ?

Thanks in advance, to anyone willing to help.

Regards

Dave

Nov 13 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Aqua | last post by:
Hi all, I have an access 97 database that I'm still using by running it with the runtime version created using ODE Tools. I have had to upgrade my machines to Windows XP and since then when I...
2
by: Tony Ciconte | last post by:
Iam trying to distribute a runtime Acc97 program using the ODE, Wise Installer, and SageKey scripts. Everything has been working great until I recently tried to include the MSINET.OXC internet...
1
by: Tim ffitch | last post by:
Hi I have an MDE database that stores all 17000000 UK Postcodes. This database also includes a custom function and data type to return map grid coordinates for a given postcode. I have set a...
1
by: Kjell S. Johansen | last post by:
I tried to convert an Acces-97 database to 2000, but got an error message (An eror occured while loading Form_frmDeltaker, do you want to continue?), then after answering yes, a message that the...
2
by: Gary Lynch | last post by:
I am looking for a simple solution to a recurrent problem with imported data in Access 97. The example below is a simplification of a problem with a much larger database. Let's say I start out...
7
by: amazo | last post by:
Dear all, A new network has been installed on a customer and I get some troubles to do specific things; I will explain: The infraestructure is as follows: .. Server: Windows Server 2003 .....
2
by: garyusenet | last post by:
I could do with something similiar, can you tell me if you think this would work for me, and if there's any advantage in working with controls this way than how I currently am. At the moment...
2
by: planetthoughtful | last post by:
Hi All, I'm building some reports in Acc97 and using a custom calendar form to allow users to pick dates with which to report. I'm wondering if there's an easy way in code to be able to...
4
by: kevinSTS | last post by:
Hi. I'm trying to run an update query in ACC97 to update a data string where only part of the data needs to be changed. Since I don't do this often, I cant for the life of me remember how to do it....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.