473,612 Members | 2,115 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access 2000 project connections

I want to use Access 2000 as a front end to a SQL server database and
have decided that Access 2K project is the way to go. This mean that I
can largely reuse my existing forms and reports (with a bit of
tweaking).

I will need a number of stored procedures to call when processing data
and have some example code using ADO to call these. This code involves
creating a connection object each time, then detroying it when
finished.
My question is this
Is it better to use the connection object that is created when the
user logs on instead of creating a new one each time? If this is so,
how do I reference it?

Also, if anyone has any useful tips that they wish they knew when they
started I would be very grateful.

Thanks in advance, Viv
Nov 13 '05 #1
1 1210
vi************* ****@whnt.nhs.u k (VivN) wrote in
news:c9******** *************** ***@posting.goo gle.com:
I want to use Access 2000 as a front end to a SQL server database and
have decided that Access 2K project is the way to go. This mean that I
can largely reuse my existing forms and reports (with a bit of
tweaking).

I will need a number of stored procedures to call when processing data
and have some example code using ADO to call these. This code involves
creating a connection object each time, then detroying it when
finished.
My question is this
Is it better to use the connection object that is created when the
user logs on instead of creating a new one each time? If this is so,
how do I reference it?

Also, if anyone has any useful tips that they wish they knew when they
started I would be very grateful.

Thanks in advance, Viv


CurrentProject. Connection is reliable, but many times slower than a roll-
your-own OLEDB-ADO connection. Whether that slowness will be noticeable
depends upon the complexity of your procedures and the frequency of their
execution.

Useful tips? Is "DON'T" useful? I used to be one of ADPs' greatest fans.
Now I would not embark on any major ADP application unless there was some
special incentive (special incentive=boatl oads of cash). Why?
I think that ADPs cannot be both secure and efficient (concurrently);
ADPs seems to have been developed as many strands. These strands are not
consistent. Often it's very difficult to identify the strand with which one
is working; after one identifies a strand discovering its properties may
range in difficulty from challenging to impossible, AND worst of all,
tomorrow the ADP may use a different strand to accomplish exactly the same
task.
ADPs are extremely sensitive to the state of MDAC and Access. Haven't got
the LATEST of the LATEST? Too bad; your application dies! Have a nice day!
Maintaining Access 2000, 2002, 2003, 9? different service packs, Windows XP
SP 2, and the various manifestations of MDAC (did I mention JET and its
updates? they don't come as part of MDAC any more ... don't need JET with
ADPS? hmmmm??? ... for sure? ... doesn't Access use some JET internally for
everything?) across 70 sites, 200 desktops and 100 notebooks? Can this be
done?
Arghhhhhhhhhhhh hhhhhhhhhhh!
It's insane that we let MS continue from one failure to another to another;
shouldn't our software just WORK for a few years. Didn't we pay for that?
*** seems to have become a rant ... sorry ***
--
Lyle
--
From ADO28.chm

Nov 13 '05 #2

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

Similar topics

1
1568
by: Denis | last post by:
Hi I am planning to design a database (destined for the web) that will have between 20000 and 45000 records in it and will receive a lot of reads but very very few writes (just from me). Now the question is should I use: 1) The combination of Access 2000 (accessible through ASP or ASP.NET) using OLEDB Jet
13
2927
by: bill | last post by:
I am trying to convince a client that dotNet is preferable to an Access project (ADP/ADE). This client currently has a large, pure Access MDB solution with 30+ users, which needs to be upgraded. I believe a dotNet solution is better, but I'm trying to be as convincing as possible -- and maybe I'm wrong! I would appreciate any input or references which could help me.
5
6895
by: John Baker | last post by:
Hi: I am URGENTLY in need of some book or web site OR tool that will help me integrate a relatively simple MS Access application into a web page or pages. This is a time recording system (by project), and I would be more than willng to pull the updated database down from the Host using FTP on a monthly basis. Its just that I need to understand how to set it up on the web site itself. The Host supports SQL. Any direction you can give...
1
3581
by: John | last post by:
Can anyone tell me where I could find a specific list of differences between Access 2000 and 2003? I have done extensive development in Access 97 and 2000 but I have been out of it for about a year or so and I am about to emark on another project so I need to know if it is worth doing it in 2003. Specifically replication and remote connections via the web. Thanks, John
6
1792
by: baramee | last post by:
I develop web application by asp.net with ms access. In general , it work fine. But if hit rate of web is very much, it occure error 'Unspecified error'. it error on conn.open. My code will be closed and destroyed connection object always. I think that problem come from database concurrency. I can't change database to sql server because it about budget. How can i fix this error? Thanks in advance.
14
4801
by: Nick Gilbert | last post by:
Hi, I have an asp.net application which runs from a CD-ROM using Cassini. As such, it is single user only. The application connects to an Access database when it is loaded, and keeps the same connection open all the time (as it's single user, this shouldn't be a problem). There is logic in the code to ensure that the connection is
5
2906
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a front end to SQL server if we ever needed to go that route. But - is there a client/server version of Access ? Looking on the CDW site there is a bewildering variety of packages and licences and such, but we can't figure out just which do...
17
4402
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting there, but is there a way they can find out if that application was put there from a CD or email or created at work? Hint: It's not on a client/server database, just native jet database mdb created on Access 2003 (default 2000)...
0
7160
by: JP | last post by:
Hello: I am using VB 6.0 with a Windows XP Professional environment. I am also using Access 2000. I am currently building a program and need reporting capabilities. So, I started a Data Project (first time I've ever used it so it's already a "mystery"). I clicked on DataEnvironment1 and showed the object. Then I added a connection. Used the wizard and under: Provider I Selected Microsoft Jet 4.0 OLE DB Provider
0
8162
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8605
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8415
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7039
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6076
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5532
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4045
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4109
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2550
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.