473,486 Members | 1,970 Online
Bytes | Software Development & Data Engineering Community
Create 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 1200
vi*****************@whnt.nhs.uk (VivN) wrote in
news:c9**************************@posting.google.c om:
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=boatloads 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?
Arghhhhhhhhhhhhhhhhhhhhhhh!
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
1562
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...
13
2887
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....
5
6885
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...
1
3569
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...
6
1779
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...
14
4776
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...
5
2897
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...
17
4382
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...
0
7154
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...
0
7099
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
6964
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
7175
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6842
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7319
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...
0
5430
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
3069
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...
0
1378
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 ...
0
262
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.