Unix Technical Forum

SQL Losing Data

This is a discussion on SQL Losing Data within the SQL Server forums, part of the Microsoft SQL Server category; --> For those who have been following this, here's a follow-up and (hopefully) the conclusion of this issue. I switched ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > SQL Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #31 (permalink)  
Old 02-29-2008, 06:45 AM
Neil Ginsberg
 
Posts: n/a
Default Re: SQL Losing Data

For those who have been following this, here's a follow-up and (hopefully)
the conclusion of this issue.

I switched the mechanism for creating a new record from going to the new
record in the bound form to creating one in the table, requerying the form,
and then going to that newly created record. The problem is gone.

So, apparently, there was some glitch with creating a new record through the
form, then immediately going to a subform and then out of it again to the
newly-created record that Access or the ODBC driver couldn't handle. As
noted, data that was entered after coming out of the subform was lost about
10% of the time, even though the users did an explicit save with the Save
Record menu command and/or Shift+Enter.

In any case, as noted, creating the new record in code and then going there
cleared up the problem. So, whatever the reason was, I'll just be doing that
from now one.

Thanks to everyone for their input!

Neil


"Neil Ginsberg" <nrg@nrgconsult.com> wrote in message
news:yefFd.5637$Ii4.2334@newsread3.news.pas.earthl ink.net...
> We're using SQL Server 7 with an Access 2000 MDB as a front end with ODBC
> linked tables. I recently created a new set of tables for the app, and
> users are complaining that unsaved data is being lost when they move to a
> new record. This seems to be the case when there are multiple users. When
> there is a single user using it, we don't seem to have that problem.
>
> It seems that we had this problem when we first converted from an MDB back
> end to a SQL 7 back end, years ago, but we haven't had this problem in a
> while. These are the first "entirely new" tables created in several years,
> and we seem to be having that problem again.
>
> Is this something with SQL 7 when it's dealing with new tables? Any ideas
> on what to do?
>
> Thanks!
>
> Neil
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #32 (permalink)  
Old 02-29-2008, 06:45 AM
Trevor Best
 
Posts: n/a
Default Re: SQL Losing Data

Neil Ginsberg wrote:
> For those who have been following this, here's a follow-up and (hopefully)
> the conclusion of this issue.
>
> I switched the mechanism for creating a new record from going to the new
> record in the bound form to creating one in the table, requerying the form,
> and then going to that newly created record. The problem is gone.
>
> So, apparently, there was some glitch with creating a new record through the
> form, then immediately going to a subform and then out of it again to the
> newly-created record that Access or the ODBC driver couldn't handle. As
> noted, data that was entered after coming out of the subform was lost about
> 10% of the time, even though the users did an explicit save with the Save
> Record menu command and/or Shift+Enter.
>
> In any case, as noted, creating the new record in code and then going there
> cleared up the problem. So, whatever the reason was, I'll just be doing that
> from now one.
>
> Thanks to everyone for their input!


That's Wierd City Arizona, glad you've got a workaround but I bet the
root cause will niggle away at the back of your mind for some time to come.

--
This sig left intentionally blank
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #33 (permalink)  
Old 02-29-2008, 06:45 AM
Neil Ginsberg
 
Posts: n/a
Default Re: SQL Losing Data


"Trevor Best" <nospam@besty.org.uk> wrote in message
news:41f23b80$0$13392$fa0fcedb@news.zen.co.uk...
> Neil Ginsberg wrote:
>> For those who have been following this, here's a follow-up and
>> (hopefully) the conclusion of this issue.
>>
>> I switched the mechanism for creating a new record from going to the new
>> record in the bound form to creating one in the table, requerying the
>> form, and then going to that newly created record. The problem is gone.
>>
>> So, apparently, there was some glitch with creating a new record through
>> the form, then immediately going to a subform and then out of it again to
>> the newly-created record that Access or the ODBC driver couldn't handle.
>> As noted, data that was entered after coming out of the subform was lost
>> about 10% of the time, even though the users did an explicit save with
>> the Save Record menu command and/or Shift+Enter.
>>
>> In any case, as noted, creating the new record in code and then going
>> there cleared up the problem. So, whatever the reason was, I'll just be
>> doing that from now one.
>>
>> Thanks to everyone for their input!

>
> That's Wierd City Arizona,


:-)

glad you've got a workaround but I bet the
> root cause will niggle away at the back of your mind for some time to
> come.


I dunno. I've already wracked my brains so much on this, that I doubt I'll
be able to do more. I'll probably I'll just chalk it up to inadequacies in
the system and move on.

Thanks again for your input!

Neil

>
> --
> This sig left intentionally blank



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 11:03 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com