Microsoft Access Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft Access Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 26th, 2003, 05:16 PM
juno juno is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 14 juno User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Access file size getting to big

My file size is getting larger and larger because of all the Forms and Reports. I was thinking, would it be a good idea to segregate the Interface stuff from the Database itself. What do you all think? Has anyone try doing something like that, and is it ease?

At this point the size is about 900KB and that’s without the Database (I haven’t started putting the data yet)

Reply With Quote
  #2  
Old September 26th, 2003, 05:50 PM
ansentry's Avatar
ansentry ansentry is offline
Access amateur
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Melbourne, Australia
Posts: 494 ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 19 h 49 m 55 sec
Reputation Power: 7
juno,

900kb is not too large, the max is about 1 gig. I have just finished a project and the front end is 3.7MB and it works fine.

Make sure that you are compacting your database on a regular basis.

If you are going to use the database in a multi user enviorement then "split" it using the database splitter in Access. To be safe make a copy of the database before you do the split.




HTH

Regards,
__________________
Regards,


John A


Reply With Quote
  #3  
Old September 26th, 2003, 06:34 PM
juno juno is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 14 juno User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for tha answer Ansenty.

Can you show me how to compact and split the database.
Also, corect me if I am wrong. Access Database is already multi user is't it? why would I need to split it

Reply With Quote
  #4  
Old September 27th, 2003, 05:34 AM
ansentry's Avatar
ansentry ansentry is offline
Access amateur
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Melbourne, Australia
Posts: 494 ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 19 h 49 m 55 sec
Reputation Power: 7
juno

What version of Access are you running. I only have 97 and 2000. If you are using one of those let me know and I will show you how to compact and split the database.

Why should you split you database? One reason is that if you are having multipal users where are you going to sit the database? Secondly you do not want to be "draging form, queries reports" over a network.

All that you should be accessing over the network is the tables. Put the tables on a server with a copy of the rest on each users PC.

Regards,

Reply With Quote
  #5  
Old September 27th, 2003, 08:58 AM
juno juno is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 14 juno User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I am currently using Access 97.

I did some research on splitting. And I now see the advantage. The only problem that I have is if the database or the ˇ°formsˇ± are moved how do I change the search path.

Could you also explain to me what exactly happens to the database during compacting.

Thanks for you help

Reply With Quote
  #6  
Old September 27th, 2003, 06:09 PM
ansentry's Avatar
ansentry ansentry is offline
Access amateur
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Melbourne, Australia
Posts: 494 ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 19 h 49 m 55 sec
Reputation Power: 7
Juno,


Below is from Access Help "Compacting" if you look it up you will see more information.

Compact a database to defragment the file and free disk space.

If you delete tables, your database can become fragmented and use disk space inefficiently. Compacting the database makes a copy of the database, rearranging how the database file is stored on disk.

To compact the current database

On the Tools menu, point to Database Utilities, and then click Compact Database.

After you have compacted for the first time you will see the size of your database shrink.

What do you mean by "Search Path"??


Regards,

Reply With Quote
  #7  
Old September 28th, 2003, 02:31 AM
juno juno is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 14 juno User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Quote:
Originally posted by ansentry
Juno,
....What do you mean by "Search Path"??
Regards,


When I split the Access file I get two files (the Database and the Forms) everything works great until I move the Forms section to somewhere else. After moving the Form section to another directory and trying to run it Access, I get an error message that the database was not located.

Reply With Quote
  #8  
Old September 28th, 2003, 05:37 AM
ansentry's Avatar
ansentry ansentry is offline
Access amateur
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Melbourne, Australia
Posts: 494 ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level)ansentry User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 5 Days 19 h 49 m 55 sec
Reputation Power: 7
Juno,


Of course you will loose the connection to the back end. When that happens just open the front end, open the linked table manager, select all and windows will ask you where is the file, point to the new location of the back end, click ok and it will be refreshed.

When you put a backend on a server you would then map the drive from the users PC (front end).

If you have using a login script for say NT, Linux or Server2000 etc, the script would map the driver each time the user logged in.

Below is a part of my script that connect a user to the access directory on a linux server.

What it is "saying" is if the person who has just logged in is a member of the access_users group (ifg) then connect them to drive Y on severname\access_be (directory) and in that directory will be the backend of the access database they want to connect to.


#ifg access_users
net use Y: \\sme56\access_be
#endif

Did you use the database splitter? So that only you tables are in the backend and forms, reports, queries etc are in the front end.

Regards,

Reply With Quote
  #9  
Old September 29th, 2003, 06:02 PM
juno juno is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 14 juno User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks Asnetry for your help I learned a lot .

Thanks again.

-Juno

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft Access Help > Access file size getting to big


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway