Jump to content

This topic is 7485 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Hello, I have a text field in my database which stores the date in the format dd/mm/yyyy

I want to convert this to date format because it should have been in date format anyway.

When I try, the standard warning pops up saying "anything after the first 255 characters will be deleted".

I just wanted confirmation that by changing the format, my data will be preserved - eg the dates are still dates, but now stored in date format.

Will my data still be ok?

It's been a while since I had to do this, and I just wanted confirmation.

Posted

In a word "yes".

The notice is telling you if there were more than the 255 characters, you will lose the data beyond the 255 limit.

Lee

Posted

That all depends on how the dates have been entered into the field, and how consistent the data entry is. I'd do some tests and find out.

I'd create another date field in the file and use the Replace function to play around with calculations, see what works and what doesn't. If it all goes pear shaped you delete the new field and everything is back where it was. When you are happy with the conversion just replace the original field with the new one, then delete the new field.

This sort of data wrangling is time consuming and expensive. It's an industry in itself. There are generally no 100% solutions, but some require less manual processing than others.

Posted

The format is all consistent dd/mm/yyyy so I should be ok - obviously I'll take an export of all that data so I can just read it back in should the worst happen.

thanks

  • 3 months later...
Posted

I wish I had access to the original message posted here. It seems to have changed topic...

My problem is similar. I am converting somebody's .fp3 to .fp7.

They had the dates as text files in dd/mm/yyyy format.

I need a date field in the same format. The problem is...

Somewhere the dates went American on me in the conversion process. So I'l like to convert the text mm/dd/yy to date-type dd/mm/yyyy.

I have my regional settings set to dd/mm/yyyy, field formats also. I've a few things and had enough for now, particularly since I've got the strange feeling I've been tyhrough all this before!

Steve

Posted

Try making a clone of the file with the computer set to dd/mm/yyyy. This should change the file to you configuration.

This topic is 7485 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.