R
riyaz.mansoor
Hi
MS Access 2003 SP2 - SQL Server 2000 SP4
Background: Same Access VBA code works fine on 15 other forms. But a
form backed by the following view gives concurrency problems. IE, says
another user has modified the record and gives options to "Save
Record", "Drop Record" etc. This happens if I try to save a record a
second time (modify-save-modify-save[concurrency.error]). I assume
that the TimeStamp field (in T_Invoice) is not updated when after the
first save. I don't see a reason why this should be because I use
"select I.*" which should return updated record values back right?
Anyways, just to check that it is the view that's giving the problem I
had the table (T_Invoice) back the form and everything worked fine.
create view Q_Invoice as
select I.*, VT.VT_Details
from T_Invoice as I inner join T_VesselTrip as VT on
I.I_VesselTrip = VT.RefNo
where (I.LastTimeStamp + 60) > getdate()
go
So I assume this is a limitation of Access ???
Besides doing a lookup of a snapshot of T_VesselTrip for each
Form_Current event, to display VT_Details, do I have any other
options?
Riyaz
MS Access 2003 SP2 - SQL Server 2000 SP4
Background: Same Access VBA code works fine on 15 other forms. But a
form backed by the following view gives concurrency problems. IE, says
another user has modified the record and gives options to "Save
Record", "Drop Record" etc. This happens if I try to save a record a
second time (modify-save-modify-save[concurrency.error]). I assume
that the TimeStamp field (in T_Invoice) is not updated when after the
first save. I don't see a reason why this should be because I use
"select I.*" which should return updated record values back right?
Anyways, just to check that it is the view that's giving the problem I
had the table (T_Invoice) back the form and everything worked fine.
create view Q_Invoice as
select I.*, VT.VT_Details
from T_Invoice as I inner join T_VesselTrip as VT on
I.I_VesselTrip = VT.RefNo
where (I.LastTimeStamp + 60) > getdate()
go
So I assume this is a limitation of Access ???
Besides doing a lookup of a snapshot of T_VesselTrip for each
Form_Current event, to display VT_Details, do I have any other
options?
Riyaz