Anyone have any reason why I can open a table in SQL Enterprise manager,
return all rows, and edit the record set, but when I go in through an ADP,
connect to the database, and try to edit the same table, it tells me that
the table is read only. What gives? There are other tables in this
database that I'm able to modify just fine.
-B 4 2376
"dp" <no****@mrspam. com> wrote in message
news:Xt******** ***********@nwr ddc01.gnilink.n et... Anyone have any reason why I can open a table in SQL Enterprise manager, return all rows, and edit the record set, but when I go in through an ADP, connect to the database, and try to edit the same table, it tells me that the table is read only. What gives? There are other tables in this database that I'm able to modify just fine.
-B
Does this table have a primary key? If not, you will not be able to update
via the adp.
Fletcher
On Mon, 12 Jan 2004 16:55:00 +0000 (UTC), "Fletcher Arnold" <fl****@home.co m>
wrote: "dp" <no****@mrspam. com> wrote in message news:Xt******* ************@nw rddc01.gnilink. net... Anyone have any reason why I can open a table in SQL Enterprise manager, return all rows, and edit the record set, but when I go in through an ADP, connect to the database, and try to edit the same table, it tells me that the table is read only. What gives? There are other tables in this database that I'm able to modify just fine.
-B
Does this table have a primary key? If not, you will not be able to update via the adp.
Just to clarify and be nit picky, that actually applies only when updating via
recordsets. If you execute a SQL update statement from an ADP by running a
stored procedure or an ADO Command, updating works.
Fletcher
"Steve Jorgensen" <no****@nospam. nospam> wrote in message
news:6n******** *************** *********@4ax.c om... On Mon, 12 Jan 2004 16:55:00 +0000 (UTC), "Fletcher Arnold"
<fl****@home.co m> wrote:
"dp" <no****@mrspam. com> wrote in message news:Xt******* ************@nw rddc01.gnilink. net... Anyone have any reason why I can open a table in SQL Enterprise
manager, return all rows, and edit the record set, but when I go in through an
ADP, connect to the database, and try to edit the same table, it tells me
that the table is read only. What gives? There are other tables in this database that I'm able to modify just fine.
-B
Does this table have a primary key? If not, you will not be able to
updatevia the adp.
Just to clarify and be nit picky, that actually applies only when updating
via recordsets. If you execute a SQL update statement from an ADP by running
a stored procedure or an ADO Command, updating works.
I imagined the OP was trying to update the table directly in the database
window - but, true, that wasn't explicitly stated. Perhaps we will get some
feedback ideally of the form "Thanks - that fixed it".
Not directed at any specific instance, but just as a comment:
If there is one thing that discourages me from posting (more than the
in-fighting and ugly squabbles which occasionally break out) it is the lack
of feedback from OP's. "Thanks in advance" is nowhere near as good as
"Thanks - that fixed it". A large percentage of the time, you never even
know if your advice was even read - let alone heeded - let alone
appreciated.
</rant>
Fletcher
On Mon, 12 Jan 2004 22:38:44 +0000 (UTC), "Fletcher Arnold" <fl****@home.co m>
wrote: "Steve Jorgensen" <no****@nospam. nospam> wrote in message news:6n******* *************** **********@4ax. com... On Mon, 12 Jan 2004 16:55:00 +0000 (UTC), "Fletcher Arnold"<fl****@home.c om> wrote:
> >"dp" <no****@mrspam. com> wrote in message >news:Xt******* ************@nw rddc01.gnilink. net... >> Anyone have any reason why I can open a table in SQL Enterprisemanager, >> return all rows, and edit the record set, but when I go in through anADP, >> connect to the database, and try to edit the same table, it tells methat >> the table is read only. What gives? There are other tables in this >> database that I'm able to modify just fine. >> >> -B > > >Does this table have a primary key? If not, you will not be able toupdate >via the adp.
Just to clarify and be nit picky, that actually applies only when updating via recordsets. If you execute a SQL update statement from an ADP by running a stored procedure or an ADO Command, updating works.
I imagined the OP was trying to update the table directly in the database window - but, true, that wasn't explicitly stated. Perhaps we will get some feedback ideally of the form "Thanks - that fixed it".
Oh, don't get me wrong. I was agreeing with your reply, and I'm certain it is
the appropriate answer in this case. I just wanted to add, for posterity,
that in the rare case where you may want to update a back-end table from and
Access app only via a stored procedure ot Insert/Update statement, a primary
key is not a requirement.
Not directed at any specific instance, but just as a comment: If there is one thing that discourages me from posting (more than the in-fighting and ugly squabbles which occasionally break out) it is the lack of feedback from OP's. "Thanks in advance" is nowhere near as good as "Thanks - that fixed it". A large percentage of the time, you never even know if your advice was even read - let alone heeded - let alone appreciated. </rant>
Agreed. After providing assistance, it's nice to get feedback on whether that
was helpful. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Alex |
last post by:
Hello,
I have a rather large table in MS SQL 2000 that I'm writing reports in
Crystal from, but I'm unsure how to get the various data files (from
different departments) into the table. Below is a small chunk of the
table:
DeptCode;Type;AveMonthVolume;WorkedFTE;TotHours;Benefits
I'm getting data from multiple places, but as I import the data, I
|
by: David Berman |
last post by:
I'm having a problem with an update operation in a stored procedure. It
runs so slowly that it is unusable, unless I comment a part out in which
case it is very fast. However, I need the whole thing :). I have a
table of email addresses of people who want to get invited to parties.
Each row contains information like email address, city, state, country,
and preferences for what types of events are of interest.
The primary key is an...
|
by: Jay Chan |
last post by:
We have just installed a SQL Server 2000 (SP 3A) onto a computer that
has Windows-2003 Server on it. Now, we cannot get access to that
database server from other computers. Seem like this may be an issue
with Active Directory.
Our network consists of Windows-2000 Servers (SP 4) and Windows-2000
workstations and Windows-XP workstations. We also have SQL Server 2000
(SP2) in three Windows-2000 servers. All work fine. Recently, we get a...
|
by: Robert M. |
last post by:
Information:
Server A: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server
Enterprise Edition. SQL Service pack is 3a. Member of domain
ABCDomain. Server A is going to function as a Distributor.
Location: New York.
Server B: SQL Server 2000 Enterprise Edition. OS is Windows 2003 Server
Standard Edition. SQL Service pack is 3a. Member of domain
ABCDomain. Server B is going to function as a Subscriber.
|
by: MrDom |
last post by:
I am wondering if someone can help solve this question I have a table
in sql server 2000, I setup it using Enterprise manager.
When I generate an SQL Script for this table it scripts as:
CREATE TABLE . (
IDENTITY (1, 1) NOT NULL ,
(255) COLLATE SQL_Latin1_General_CP1_CI_AS
NULL
| |
by: Silas |
last post by:
Hi,
I use view to join difference table together for some function. However,
when the "real" table fields changed (e.g. add/delete/change field). The
view table still use the "old fields".
Therefore everytimes when I change the real table, I also needed open the
view table and save it by SQL enterprise manager manually for update the
view table field.
|
by: Zorba.GR |
last post by:
IBM DB2 Connect Enterprise Edition v8.2, other IBM DB2 (32 bit, 64
bit) (MULTiOS, Windows, Linux, Solaris), IBM iSoft Commerce Suite
Server Enterprise v3.2.01, IBM Tivoli Storage Resource Manager Express
Edition v1.3.2 Win, IBM Tivoli System Automation v1.2.0 Linux, IBM
Tivoli Workload Scheduler Virtualized Data Centers v8.2 , other
IBM Tivoli CDs, WEBSPHERE EVERYPLACE MOBILE PORTAL v5.0 - ALTIUM , other IBM WebSphere Business CDs...
|
by: Smutny30 |
last post by:
Hello,
I am preparing a database that will store 10 n * GBs - 100 n * GBs of data.
I calculated to have 1,2 GB of bufferpools. I run the DB2 v. 8.2.1 alone on
4 GB box.
I obtain :
"SQL1478W The defined buffer pools could not be started. Instead, one small
|
by: rubeel |
last post by:
I cannot seem to connect to this Instance locally which was i able to
in the past. I can connect to the instance from out side. The instance
is running and the DBs in the instance are available and used
successfully by the applications but i cannot connect to the instance
using the enterprise manager.
the error i get is
SQL Server does not exist or access denied
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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...
| |
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 captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| | |