473,804 Members | 3,672 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ms-access97 & sql server2005 - error "the data has been changed"

ms-access97 & sql server2005
two tables
tblItem
tblItemFeature

form frmItem contains subform frmItemFeature
each form is based on their respective table

creating new record and filling in two bound fields works fine

creating new record, filling in first field, filling in field in
subform and filling in second field, produces error
the data has been changed
another user edited this record and saved the changes before you
attempted to save your changes
reedit the record
both tables have a timestamp fields, per other discussions in this
news group

and the above sequence that causes the error works fine if using a
backend mdb instead of link tables to sql server2005

before the error occurs, neither the form nor the subform is dirty
once the error message box is displayed, I click on 'ok', and then I
can fill in the second field

the same happens with an existing record on the main record and
changing an existing / adding a new subform record

what else could be causing the problem ?

what else can I check ?
Feb 25 '08 #1
10 2640
On Feb 25, 3:45*pm, Roger <lesperan...@na tpro.comwrote:
ms-access97 & sql server2005
two tables
* * * * tblItem
* * * * tblItemFeature

form frmItem contains subform frmItemFeature
each form is based on their respective table

creating new record and filling in two bound fields works fine

creating new record, filling in first field, filling in field in
subform and filling in second field, produces error
* * * * the data has been changed
* * * * another user edited this record and saved the changes before you
attempted to save your changes
* * * * reedit the record

both tables have a timestamp fields, per other discussions in this
news group

and the above sequence that causes the error works fine if using a
backend mdb instead of link tables to sql server2005

before the error occurs, neither the form nor the subform is dirty
once the error message box is displayed, I click on 'ok', and then I
can fill in the second field

the same happens with an existing record on the main record and
changing an existing / adding a new subform record

what else could be causing the problem ?

what else can I check ?
if I go to the subform control on the main form and I add 'me.refresh'
to its exit event, I don't get the error
why ?
Feb 25 '08 #2
Roger wrote:
On Feb 25, 3:45 pm, Roger <lesperan...@na tpro.comwrote:
if I go to the subform control on the main form and I add 'me.refresh'
to its exit event, I don't get the error
why ?
Either table have triggers on them?

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Feb 26 '08 #3
"Rick Brandt" <ri*********@ho tmail.comwrote in news:BAIwj.1406 4$R84.12182
@newssvr25.news .prodigy.net:
Roger wrote:
>On Feb 25, 3:45 pm, Roger <lesperan...@na tpro.comwrote:
if I go to the subform control on the main form and I add 'me.refresh'
to its exit event, I don't get the error
why ?

Either table have triggers on them?
That wasn't Roger that was Roy.
Feb 26 '08 #4
"lyle fairfield" <ly******@yah00 .cawrote
>Either table have triggers on them?

That wasn't Roger that was Roy.
Which picture was that in, Lyle? Must have been interesting to see Trigger
on Roy. In all the pictures I remember, it was Roy on Trigger.

Larry
Feb 26 '08 #5
"Larry Linson" <bo*****@localh ost.notwrote in
news:iLJwj.2317 7$6h7.1226@trnd dc04:
"lyle fairfield" <ly******@yah00 .cawrote
Either table have triggers on them?
That wasn't Roger that was Roy.

Which picture was that in, Lyle?
Revenge of the Palomino!
Feb 26 '08 #6
lyle fairfield <ly******@yah00 .cawrote:
>Either table have triggers on them?

That wasn't Roger that was Roy.

Which picture was that in, Lyle?

Revenge of the Palomino!
<guffaw>

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Feb 26 '08 #7
Roger <le*********@na tpro.comwrote:
>ms-access97 & sql server2005
two tables
tblItem
tblItemFeature

form frmItem contains subform frmItemFeature
each form is based on their respective table

creating new record and filling in two bound fields works fine

creating new record, filling in first field, filling in field in
subform and filling in second field, produces error
the data has been changed
another user edited this record and saved the changes before you
attempted to save your changes
reedit the record
both tables have a timestamp fields, per other discussions in this
news group
Just guessing. Is the primary key of those tables also on the form?

Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog - http://msmvps.com/blogs/access/
Feb 26 '08 #8
"Tony Toews [MVP]" <tt****@teluspl anet.netwrote in
news:9n******** *************** *********@4ax.c om:
lyle fairfield <ly******@yah00 .cawrote:
>>Either table have triggers on them?

That wasn't Roger that was Roy.

Which picture was that in, Lyle?

Revenge of the Palomino!

<guffaw>

Tony
I'm back in my childhood cowboy days and Tony never said <guffawthen,
only <neighor <whinny>.

I guess we'll see if there's anyone here who's familar enough with the
radio cowboys of the early 40's to know why.

Here's a hint. I listened to a show with Tony in it from 17:45 to 18:00
(5:45 pm to 6:00 pm) from WSLB, Ogdensburg every afternoon in 1945 and on
April 12 it was interrupted by a famous announcement. My friend, Donald and
I went out onto the street to tell people this news but no one believed
seven year olds. We should have said, "But it's true, man (or soon will
be)!"

And some people say there's nothing new to be learned on CDMA!

Lyle
(Always the Lone Ranger)

Feb 26 '08 #9
"lyle fairfield" <ly******@yah00 .cawrote
I'm back in my childhood cowboy days and Tony
never said <guffawthen,
only <neighor <whinny>.

I guess we'll see if there's anyone here who's familar enough with the
radio cowboys of the early 40's to know why.

Here's a hint. I listened to a show with Tony in it from 17:45 to 18:00
(5:45 pm to 6:00 pm) from WSLB, Ogdensburg every afternoon in 1945 and on
April 12 it was interrupted by a famous announcement. My friend, Donald
and
I went out onto the street to tell people this news but no one believed
seven year olds. We should have said, "But it's true, man (or soon will
be)!"

And some people say there's nothing new to be learned on CDMA!
I remember listening to that same show, never realizing that both Tony and
his master were both gone on to the Great Beyond by then. And, going on to
the Great Beyond might be a good lead-in to the other event you mentioned.
Feb 26 '08 #10

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

Similar topics

1
26965
by: jaYPee | last post by:
I have created a stored procedure that contain this field (below) in order to meet certain criteria. But my problem is when I try to run the stored procedure I encounter an error "Error converting data type varchar to float". CASE Final WHEN 0 THEN '--' ELSE Final END AS FinalGrade The Final field is a float data type. Could anyone teach me how to fix this problem?
2
1722
by: astro | last post by:
I got a message from a client. They tried to import some data into an Access application and got the following error: "The field is too small to accept the amount of data you attempted to add. Try inserting or pasting less data" I ran the same import on my office PC and did not get the error. I dailed up their server, did the same import and got the error. I then stepped through the import code and the error did not trigger. I then...
0
1430
by: Rich | last post by:
Getting error on insert when I try to add a new row to a dataset; used Visual Studio IDE to generate stored procedures, data adapter, and dataset. Table on SQL server has a column marked non-null. The code that I wrote is included below. static void Main() { Application.Run(new Form1()); }
1
9874
by: luna | last post by:
got so far then it broke and i cant get it working again - it was updating fine but not inserting and now im getting a "Error converting data type varchar to numeric" which i didnt have before.... stored procedure is CREATE Procedure newupdate @newid varchar(50), @newnews varchar(50)
0
2424
by: rajmgopal | last post by:
Hello Everyone I am getting the following error when i try to insert a record into Sql Server 2005 from my VB 2005 application. sqlEx = {"Error converting data type numeric to numeric."} I checked for possible overflow exception, but did not encounter any. I have declared the values that i am trying to insert as DECIMAL data types in my VB code.
0
2187
by: smart.bug | last post by:
hi, i have SQLserver properly running on my machine, when i open a project in VB.Net and add a SQLConnection object, while setting its connection string (when i click on combo box to choose data server) it gives this error " error enumerating data server. enumerator reports 'Unexpected error' " i need help on this very urjent please. thanx WaC
0
3469
by: bluepiper | last post by:
Hi everyone. I have created a linked server on SQL Server 2005 to access data from visual foxpro database. I execute a query Select * from OpenQuery(members, 'Select * from memfile') but Im getting an error message: error converting data type DBTYPE_DBTIMESTAMP to datetime. Why does this error occurs? Is it about getting null value from date type?? How can i retrieve the data from the query? Can anyone please help me or give me an example...
3
24153
by: lornab | last post by:
Hi I wonder if anyone can help - I think the answer is simple but it's been a really long day and I need to get this done!! My select statement goes like this... SELECT client, apar_id,
5
5348
AAPWM
by: AAPWM | last post by:
Hello My job is to extract data from my companies database with Crystal Reports, export that data to Excel, modify the data, save the data as "Text "tab delimited"", and upload to the database once again. Ive done this for close to a year and have never had this error message. "Error converting data type varchar to numeric" 2255;2801 IMPORT LOG;IMPORT MAPPING INTERFACE;IMPORT MAPPINGS;SQL - CALL IMPORT ROUTINES;_DB ERROR Can...
0
9704
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
10562
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
10319
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10303
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
7608
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
5508
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
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2978
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.