Hi there.
I have a CSV file. I want to import it into a table, but my reasons for using the 'Input# Statement' way to import the data is due to the need to run various checks etc etc per record line.
Anyways, my problem occurs when assigning data to their variables. For some reason it will only take the first part of any date (anything before the first slash). The field in the CSV file reads something like: 26/11/2002, but the variable holding the date only has 26 as its data. Any idea why this is happening or another way to import the data which would allow this to work.
I have tried declaring the date variable as a string/date to see if this makes any difference, but this doesnt.
Am I missing something here, does the input statement not like the character / in the data?
Please help...and sorry if my explanation isnt any good. - FateFirst
I have a CSV file. I want to import it into a table, but my reasons for using the 'Input# Statement' way to import the data is due to the need to run various checks etc etc per record line.
Anyways, my problem occurs when assigning data to their variables. For some reason it will only take the first part of any date (anything before the first slash). The field in the CSV file reads something like: 26/11/2002, but the variable holding the date only has 26 as its data. Any idea why this is happening or another way to import the data which would allow this to work.
I have tried declaring the date variable as a string/date to see if this makes any difference, but this doesnt.
Am I missing something here, does the input statement not like the character / in the data?
Please help...and sorry if my explanation isnt any good. - FateFirst