I have run into an extremely frustrating problem. In a new tool that we are using we have reports that are exported in a CSV format. The problem I am running into is the date fields are exporting as:
dd/mm/yy hh:mm AM/PM
I want the date to be saved in that file as:
mm/dd/yyyy HH:mm
For the purposes of this process the only thing I cannot do, as it is very low on the vendors priority list, is have them export the data in the format I want. Some day they might do it, but not any time soon.
The reason for converting the data is that way it can easily be imported into Access, and all the queries I used to run through an ODBC connection with our old vendor will now auto-magically work on reports from our new system.
Right now I have a kludge, but I am worried about memo field truncation:
1) Set the time in Regional settings to 24 hr (I do not mind this being a permanent change)
2) Use a .reg file to set the short date format to dd/MM/yy
3) Open the CSV file in Excel, and save the file (this changes the time format to 24 hr)
4) Import the data into an existing table in Access
5) ???
6) Profit!
6a) Run another .reg file to return the short date to MM/dd/yyyy
Is there any other Windows installable software package that can manage the CSV file for me to:
1) Change the date format to mm/dd/yyyy
2) Change the time format to 24 hour
3) Make certain the memo fields are not truncated (I am not positive this is happening, but it has occurred in the past)
Using the import 'Results Link Specification' tool in Access only results in import errors if my Regional settings are not setup like my kludge. I really tried to use Google on this one, but any results I do find are ancient and not relevant to the task at hand.
dd/mm/yy hh:mm AM/PM
I want the date to be saved in that file as:
mm/dd/yyyy HH:mm
For the purposes of this process the only thing I cannot do, as it is very low on the vendors priority list, is have them export the data in the format I want. Some day they might do it, but not any time soon.
The reason for converting the data is that way it can easily be imported into Access, and all the queries I used to run through an ODBC connection with our old vendor will now auto-magically work on reports from our new system.
Right now I have a kludge, but I am worried about memo field truncation:
1) Set the time in Regional settings to 24 hr (I do not mind this being a permanent change)
2) Use a .reg file to set the short date format to dd/MM/yy
3) Open the CSV file in Excel, and save the file (this changes the time format to 24 hr)
4) Import the data into an existing table in Access
5) ???
6) Profit!
6a) Run another .reg file to return the short date to MM/dd/yyyy
Is there any other Windows installable software package that can manage the CSV file for me to:
1) Change the date format to mm/dd/yyyy
2) Change the time format to 24 hour
3) Make certain the memo fields are not truncated (I am not positive this is happening, but it has occurred in the past)
Using the import 'Results Link Specification' tool in Access only results in import errors if my Regional settings are not setup like my kludge. I really tried to use Google on this one, but any results I do find are ancient and not relevant to the task at hand.
Do you need me to cover all the scenarios of how someone could open, and view a CSV file?