473,587 Members | 2,505 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Understanding ODBC connections...!

Scenario is:
We have an intranet on which a Helpdesk application can be accessed.
Data input into the Helpdesk is stored in a Access 2000 database, held
on a server. This is great, works fine, Users and IT have a warm fuzzy
feeling of contentment.

Turns out Helpdesk application is short of decent reporting
capabilities.
So, I create an Access DB on my machine, via ODBC, link to the tables
within the Helpdesk Access database. I set the ODBC driver to ReadOnly,
so that I don't wreck anything!
I can create my queries and reports, no problem (for me anyhow!).

Problem is, whenever I'm running queries (SELECTs only) using the
linked tables (from the Helpdesk DB) the Users of the intranet helpdesk
start getting errors along the lines of 'must use updateable queries -
MS Jet/Access ODBC errors' etc.

Could someone point me off as how to avoid this scenario. It was my
understanding that if I was using ODBC, I could grab the data into my
linked 'reporting' database and not cause errors within the Helpdesk
data repository.

If anyone would like to fill my obvious lack of knowledge, I would be
most grateful.

Thanks in advance.

Cheers,

Phil

Nov 13 '05 #1
4 2710
Phil Latio wrote:
Scenario is:
We have an intranet on which a Helpdesk application can be accessed.
Data input into the Helpdesk is stored in a Access 2000 database, held
on a server. This is great, works fine, Users and IT have a warm fuzzy
feeling of contentment.

Turns out Helpdesk application is short of decent reporting
capabilities.
So, I create an Access DB on my machine, via ODBC, link to the tables
within the Helpdesk Access database. I set the ODBC driver to ReadOnly,
so that I don't wreck anything!
I can create my queries and reports, no problem (for me anyhow!).

Problem is, whenever I'm running queries (SELECTs only) using the
linked tables (from the Helpdesk DB) the Users of the intranet helpdesk
start getting errors along the lines of 'must use updateable queries -
MS Jet/Access ODBC errors' etc.

Could someone point me off as how to avoid this scenario. It was my
understanding that if I was using ODBC, I could grab the data into my
linked 'reporting' database and not cause errors within the Helpdesk
data repository.

If anyone would like to fill my obvious lack of knowledge, I would be
most grateful.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You don't need to use ODBC to link Access to Access. Are you sure you
really are using ODBC? An ODBC linked table will have "ODBC;" at the
beginning of the connection string (the table's Description property).
An Access to Access connection will have "Database=" at the beginning of
the connection string.

I didn't know you could set a connection string to "read-only." How'd
you do that? Perhaps that's what's causing the problem.
--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQyCcNoechKq OuFEgEQJX/QCgwUKBV4r6h0/nKd0/NF2+Zc3/364AoJ7x
riN215PS741a9aJ foTc0IC/G
=c1NC
-----END PGP SIGNATURE-----
Nov 13 '05 #2
Hi MGFoster

Thanks for the reply - sorry for my delay in responding (I use Google
groups via the web at work!)

I've looked at what I've done and it seems I created a ODBC User DSN
(which I intended to use with Cognos Impromptu).
Within the DSN configuration was a check-box for 'Exclusive' and 'Read
Only'. I checked the 'Read Only' option. I assumed that would make the
data read-only.
For some reason I used this DSN to connect, rather than Access to
Access - Doh!

I've binned the ODBC DSN and now linking Access to Access.
I've just tested this and the Intranet Helpdesk application still
throws up the errors about 'must use updateable query...'
I didn't expect that to happen - I was expecting to be able to use
simple SELECTs querys (on only one table) and not cause problems for
the helpdesk database!

Now that I'm linking Access to Access, is there something I should be
doing to alleviate these problems?

Thanks in advance.

Phil

Nov 13 '05 #3
Phil Latio wrote:
Hi MGFoster

Thanks for the reply - sorry for my delay in responding (I use Google
groups via the web at work!)

I've looked at what I've done and it seems I created a ODBC User DSN
(which I intended to use with Cognos Impromptu).
Within the DSN configuration was a check-box for 'Exclusive' and 'Read
Only'. I checked the 'Read Only' option. I assumed that would make the
data read-only.
For some reason I used this DSN to connect, rather than Access to
Access - Doh!

I've binned the ODBC DSN and now linking Access to Access.
I've just tested this and the Intranet Helpdesk application still
throws up the errors about 'must use updateable query...'
I didn't expect that to happen - I was expecting to be able to use
simple SELECTs querys (on only one table) and not cause problems for
the helpdesk database!

Now that I'm linking Access to Access, is there something I should be
doing to alleviate these problems?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't know. I thought the ODBC connection may have been throwing up
something that was causing the error. Continue to use the Access to
Access connection, since that is the perferred method.

I found an article in MS KnowledgeBase (http://tinyurl.com/9h264) that
supposedly fixes a similar problem.

Rgds,
--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQyHWboechKq OuFEgEQIpiwCglV A1ccr5qCYg790R2 Fuz3MfpDR0An3U7
xuc93xDBvDITi75 0C7lh0VWW
=D8kE
-----END PGP SIGNATURE-----
Nov 13 '05 #4
Hi

Thanks for the further response - you've prompted me into action here!

I've just checked the Service Pack scenario at work and to be honest,
it's shocking! having only just joined my current company, and I've now
gone poking around the system - lo and behold, we're running MS Office
2000 with NO Service Packs applied! Shocking! Absolutlely
in-excuseable!

So, before I look at fixing my problem, I'll sort out the Service
Packs. Then, I'm in a bit better position ask for assistance!

Many thanks for assistance - I'll post back if I still encounter
problems post-service packing!

Cheers,

Phil
MGFoster wrote:
Phil Latio wrote:
Hi MGFoster

Thanks for the reply - sorry for my delay in responding (I use Google
groups via the web at work!)

I've looked at what I've done and it seems I created a ODBC User DSN
(which I intended to use with Cognos Impromptu).
Within the DSN configuration was a check-box for 'Exclusive' and 'Read
Only'. I checked the 'Read Only' option. I assumed that would make the
data read-only.
For some reason I used this DSN to connect, rather than Access to
Access - Doh!

I've binned the ODBC DSN and now linking Access to Access.
I've just tested this and the Intranet Helpdesk application still
throws up the errors about 'must use updateable query...'
I didn't expect that to happen - I was expecting to be able to use
simple SELECTs querys (on only one table) and not cause problems for
the helpdesk database!

Now that I'm linking Access to Access, is there something I should be
doing to alleviate these problems?


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I don't know. I thought the ODBC connection may have been throwing up
something that was causing the error. Continue to use the Access to
Access connection, since that is the perferred method.

I found an article in MS KnowledgeBase (http://tinyurl.com/9h264) that
supposedly fixes a similar problem.

Rgds,
--
MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQyHWboechKq OuFEgEQIpiwCglV A1ccr5qCYg790R2 Fuz3MfpDR0An3U7
xuc93xDBvDITi75 0C7lh0VWW
=D8kE
-----END PGP SIGNATURE-----


Nov 13 '05 #5

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

Similar topics

1
3184
by: Byrocat | last post by:
Does anyone have a checklist of the files/operations that are needed to clone the DB2 ODBC connections that are one one desktop system to another? I did this successfully a while ago with another desktop but the latest one blows up when I attempt to establish a connection through DBArtisan. What I did was: 1) ensure that the sqlnodir...
26
6077
by: Dragon | last post by:
I have an Access 2003 .mde sitting on an SQL Server. The tables for the application also sit on the Server. I'm having a problem with ODBC on only one of about 10 machines. All the other machines using my Access 2003 .mde see the linked tables without a problem. I've configured the User DSN (under Control Panel, Administrative Tools) tab...
0
1370
by: Kris | last post by:
hi, if have the following problem: i have two (informix-)odbc connections i need to work with. link the first one, choosing my tables. open them - fine! link the second one, choosing my tybles. open them - fine!
1
1625
by: m23 | last post by:
Hi, I have an access application that has been working fine for the past few years.Access 2000 is used for the user interface and Oracle the database. Recently the application was moved to a citrix environment. On this citrix environment is one copy of the mde and the oracle odbc driver to connect to the database. When a user logs into...
2
37801
by: A. User | last post by:
Hello, Where does the ODBC Data Source Admin tool store the connection information for User, System or File DSNs? A coworker created/used several ODBC connections on his machine, we backed up most of his files but did not make an image (Ghost), wiped the HD and now I am having to reconstitute his ODBC connections from memory. I would like...
8
9619
by: Greg Strong | last post by:
Hello All, The short questions are 1 Do you know how to make DSN connection close in Access to Oracle 10g Express Edition? &/or 2 Do you know how to make a DSN-less pass-through query work from
0
2184
by: gilles.carali | last post by:
Bonjour, J'ai deux serveurs Domino Notes (A et B) en cluster qui se connectent à l' AS400 via DB2 ou ODBC. Configuration : Win2000, Domino Notes V5.013a Client Access Express en V4.5 (SP SF67104) sur le A Client Access Express en V5.1 (SP SI08389) sur le B
2
9377
by: 111mike | last post by:
Hello, Here's my problem. I cannot connect to mysql database using odbc string connections or dns. I keep getting a "cannot connect to mysql server localhost." I'm running windows XP Pro and have installed IIS as my server. I have installed Mysql 5.0 and mysql ODBC driver 3.51.12 in their default locations. Database is up and running...
2
17447
by: MLH | last post by:
Am using A97. Have defined Machine Data Source type DSNs in Access' File, Get External Data, Link Tables, Files of Type ODBC, Machine Data Source tab. Have many definitions. Would like to delete some. Would like to edit some. How to delete? I don't think editing is possible.
0
8215
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. ...
0
8347
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
8220
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...
0
6626
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...
1
5718
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...
0
3844
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...
0
3879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2358
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
0
1189
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.