473,385 Members | 1,824 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,385 software developers and data experts.

Database Heap Size and Creating Instance

Good afternoon,

I was asked to create an instance of my Database on a local drive and I am not sure how to accomplish that task?

I was also told to research on how to increase the heap size.

Can someone please provide me with direction?

Thanks,
Apr 25 '07 #1
1 1532
ADezii
8,834 Expert 8TB
Good afternoon,

I was asked to create an instance of my Database on a local drive and I am not sure how to accomplish that task?

I was also told to research on how to increase the heap size.

Can someone please provide me with direction?

Thanks,
  1. As far as I am aware of, Heap Size is not a Configurable Parameter in Microsoft Access.
  2. The following code will create an Instance of an External Access Database and treat it as the Current Database within an Access Window via Automation. It will then open a Table and display its Records. When an attempt is made to open another Instance of the Current Database via automation, Access generates a Run Time Error. I apologize but I really do not have the time to research this further but it does provide you with at least a starting point.
Expand|Select|Wrap|Line Numbers
  1. 'In the Declarations Section of a Standard Module
  2. Public objAccess As Access.Application
Expand|Select|Wrap|Line Numbers
  1. 'Create a New Instance of Microsoft Access
  2. Set objAccess = CreateObject("Access.Application")
  3.  
  4. objAccess.Visible = True
  5.  
  6. 'Create an Instance of an External Access Database
  7. objAccess.OpenCurrentDatabase "C:\<your directory>\<your database>.mdb"
  8.  
  9. 'Open the Table
  10. objAccess.DoCmd.OpenTable "tblSite"
Expand|Select|Wrap|Line Numbers
  1. 'Close the Database Instance
  2. objAccess.CloseCurrentDatabase
Apr 26 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Mark | last post by:
I am using JVM version 1.4.1 (java.vm.version=1.4.1-1) to run my program on UNIX. I use java command line option "java" to invoke my program. How will I know what the default heap size settings...
1
by: Oleg Konovalov | last post by:
Hi, I am running applets in Java Plug-in 1.4.2 under IE6 and often receive OutOfMemory exceptions (dealing with large file - video clips, etc.) although according to option M, almost 50% (out...
3
by: nvjoglekar | last post by:
Hi All My program needs a lot of memory and after allocating some using NEW statement, it returns NULL for any new object created. I guess that is becuase of the heap size limitation of the...
1
by: nrhayyal | last post by:
hi all, i am working on C++ on AIX machine. i am running one of my module which is built using 10+ user built libraries. i am getting St9bad_alloc exception. i came to know that this exception...
0
by: escobarito | last post by:
Hi, I am writing a front-end to a Perl-based web-service running against a DB2 v. 8.1 database, and every once in a while I get the following error: DBD::DB2::db prepare failed: SQL0954C Not...
3
by: sql-db2-dba | last post by:
When I did db2batch to benchmark a query, it performance details came back with this reading ... "High water mark for database heap = 4291373408" Does this mean it would have caused memory...
11
by: ganesh.kundapur | last post by:
Hi, Is there any way to get the total heap size allocated to a process in c on linux platform. Regards, Ganesh
5
by: sunny | last post by:
Hi All Is there any way to determine stack and heap size, during runtime. i.e can we predict stack overflow. etc
7
by: Raman | last post by:
Hi All, Could any one tell me, how can I determine/Change size of heap on per- process basis on Unix based systems. Thanks. Regards
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...

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.