R
Ray Gurganus
I have an Access 2000 front-end with a SQL Server 2000 backend. On some
records, but not on all records, when editing through the form something
weird happens. I place the cursor into a field. For debugging, I added an
OnEnter event to check the ID number of the record - all is well. Then I
type something into the field. The OnChange event fires, and I check the ID
number of the record again - now it's on a completely different number.
The form itself doesn't show any change, I didn't do anything in the form to
instruct it to go to another record, no VBA code running that says to go to
another record, and the OnCurrent event doesn't fire, which would if the
code were moving it to another record, and yet it is on another record when
I have it print out the field values. Then when saving the changes, they
are applied to the second record and not the original.
As this just started recently with no programming changes in recent history,
I'm leaning towards a backend issue. I re-indexed. I ran checks on the
table in question, and SQL returns everything a-ok. Same problem persists.
Suggestions?
records, but not on all records, when editing through the form something
weird happens. I place the cursor into a field. For debugging, I added an
OnEnter event to check the ID number of the record - all is well. Then I
type something into the field. The OnChange event fires, and I check the ID
number of the record again - now it's on a completely different number.
The form itself doesn't show any change, I didn't do anything in the form to
instruct it to go to another record, no VBA code running that says to go to
another record, and the OnCurrent event doesn't fire, which would if the
code were moving it to another record, and yet it is on another record when
I have it print out the field values. Then when saving the changes, they
are applied to the second record and not the original.
As this just started recently with no programming changes in recent history,
I'm leaning towards a backend issue. I re-indexed. I ran checks on the
table in question, and SQL returns everything a-ok. Same problem persists.
Suggestions?