P
Peter
Hello,
I am having alot of trouble reading in a date values from a text file
which is exported from another application.
My program is pretty basic, I read in values from a plain text file
which had comma seperated values. I use the input statement to read
the values from the file. eg. Input #1, name, dte1, tme1
The text file conists of lines like;
1.167,08/07/2006,02:16:56.2
If I have my variables defined as strings, name and tme1 read in fine,
the date (dte1) reads in as "8".
I have tried changing the data type of dte1 to date and variant, but
still no luck.
If the values in the text file have a "" around them the program works
fine. But the text file is output from a proprietry piece of software
which i can't change.
Any help or tips will be appreciated.
thanks
Peter
I am having alot of trouble reading in a date values from a text file
which is exported from another application.
My program is pretty basic, I read in values from a plain text file
which had comma seperated values. I use the input statement to read
the values from the file. eg. Input #1, name, dte1, tme1
The text file conists of lines like;
1.167,08/07/2006,02:16:56.2
If I have my variables defined as strings, name and tme1 read in fine,
the date (dte1) reads in as "8".
I have tried changing the data type of dte1 to date and variant, but
still no luck.
If the values in the text file have a "" around them the program works
fine. But the text file is output from a proprietry piece of software
which i can't change.
Any help or tips will be appreciated.
thanks
Peter