P
Phil Cox
Hi All,
Wondering if anyone else had encountered this problem. As
an English based country our date format is dd-mm-yyyy
format. This has always been a bit of an issue with Jet as
natively it expects mm-dd-yyyy. However, I have struck a
problem with the OLEDBPRovider in .net 2003 whereby I can
insert records with dates in excess of 12 Oct 2003 fine (I
have a number of date fields in this particular record),
however if I then go to modify that same record and call
dataadapter.update on the dataset I get an error:
Concurrency violation: the UpdateCommand affected 0
records.
I have traced this to records that have dates like 30 Oct
2003 which when I view the changed rows in the dataset is
being recorded as 10/30/2003 in the debug watch window.
While I can overcome this by manually writing my own
update sql command I guess, I do believe there is an
international datetime bug here.
Comments anyone?
(e-mail address removed)
Wondering if anyone else had encountered this problem. As
an English based country our date format is dd-mm-yyyy
format. This has always been a bit of an issue with Jet as
natively it expects mm-dd-yyyy. However, I have struck a
problem with the OLEDBPRovider in .net 2003 whereby I can
insert records with dates in excess of 12 Oct 2003 fine (I
have a number of date fields in this particular record),
however if I then go to modify that same record and call
dataadapter.update on the dataset I get an error:
Concurrency violation: the UpdateCommand affected 0
records.
I have traced this to records that have dates like 30 Oct
2003 which when I view the changed rows in the dataset is
being recorded as 10/30/2003 in the debug watch window.
While I can overcome this by manually writing my own
update sql command I guess, I do believe there is an
international datetime bug here.
Comments anyone?
(e-mail address removed)