ronellmulder
Programmer
Firstly, I'm new in Progress - and the helpfile couldn't help.
Importing from a file with delimiters:
I have to import from a file - the delimiters might differ from file to file. There is not a standard delimiter. The one file might have *, the next file might have ^ as delimiter.
Currently I find the delimiter - then change it to "*", then use the IMPORT DELIMITER "*" .....
Is there a way to use a varialble in the statement. e.g.
IMPORT DELIMITER v-delim ......
the files are pretty big and I was wondering if a can skip the conversion prosess and just use the delimiter that I find in the IMPORT statement.
This is what I found in the help file:
DELIMITER character
The character used as a delimiter between field values in the file. The character parameter must be a quoted single character. The default is a space character.
They specificly say 'character' and not 'variable' - is there a way around this?
Any help or suggestions would be MUCH appericated!
Thank you
Importing from a file with delimiters:
I have to import from a file - the delimiters might differ from file to file. There is not a standard delimiter. The one file might have *, the next file might have ^ as delimiter.
Currently I find the delimiter - then change it to "*", then use the IMPORT DELIMITER "*" .....
Is there a way to use a varialble in the statement. e.g.
IMPORT DELIMITER v-delim ......
the files are pretty big and I was wondering if a can skip the conversion prosess and just use the delimiter that I find in the IMPORT statement.
This is what I found in the help file:
DELIMITER character
The character used as a delimiter between field values in the file. The character parameter must be a quoted single character. The default is a space character.
They specificly say 'character' and not 'variable' - is there a way around this?
Any help or suggestions would be MUCH appericated!
Thank you