J
jasonshohet
working with the new beta, I want to do an update statement on a field
that has text data that looks like this: 20050310
I want it to be 03102005 - and a date field.
But access won't change the text field to type 'date' without deleting
the data. So I was going to try this
UPDATE TRANS SET DEATHDT = Format(Date(),"yyyymmdd");
and then try to convert the field to type date, and then do a second
update:
UPDATE TRANS SET DEATHDT = Format(Date(),"mmddyyyy");
to get me to where I really want to be.
First, I'm not sure if this is the right strategy. Second, I keep
getting an error in access "action or event has been blocked by
disabled mode" and i don't know how to enable it! I'm the only owner
/ admin of this database. So i'm not sure why Access 2007 (beta 2) is
doing this.
Thanks for any help
Jason Shohet
that has text data that looks like this: 20050310
I want it to be 03102005 - and a date field.
But access won't change the text field to type 'date' without deleting
the data. So I was going to try this
UPDATE TRANS SET DEATHDT = Format(Date(),"yyyymmdd");
and then try to convert the field to type date, and then do a second
update:
UPDATE TRANS SET DEATHDT = Format(Date(),"mmddyyyy");
to get me to where I really want to be.
First, I'm not sure if this is the right strategy. Second, I keep
getting an error in access "action or event has been blocked by
disabled mode" and i don't know how to enable it! I'm the only owner
/ admin of this database. So i'm not sure why Access 2007 (beta 2) is
doing this.
Thanks for any help
Jason Shohet