Hi everyone.
I'm working on a new project where I get all my data from an outside source imported as a .txt file. The Main table has already been created, my job is just basically to manipulate data, calculate some stuff, and basically just make it easy to understand.
The calculations I need to do are DateDiff, which I know how to do, except that my data comes in as a text field and it comes in this format: yyyymmdd (20021210).
So what I need to be able to do is somehow get this recognized as a date so that I can do a datediff... but I think changing the field's data type will mess up importing data, plus, I don't think it'll recognize the format and it'll just get confused anyway.
Not at all sure where to start here.... I've done a forum search, but haven't quite seen this problem... Any thoughts?
Thanks in advance!
--Sara
I'm working on a new project where I get all my data from an outside source imported as a .txt file. The Main table has already been created, my job is just basically to manipulate data, calculate some stuff, and basically just make it easy to understand.
The calculations I need to do are DateDiff, which I know how to do, except that my data comes in as a text field and it comes in this format: yyyymmdd (20021210).
So what I need to be able to do is somehow get this recognized as a date so that I can do a datediff... but I think changing the field's data type will mess up importing data, plus, I don't think it'll recognize the format and it'll just get confused anyway.
Not at all sure where to start here.... I've done a forum search, but haven't quite seen this problem... Any thoughts?
Thanks in advance!
--Sara