Hello All
I have a text file which has two fields, a unique number and a description.
LogID, Description
1, "blah, blah (character return)
! ***" etc
there are thousands of these unique numbers with free text descriptions of upto 255 characters. This has been downloaded from a business objects report, interrogating a database. The description field from this database can contain any character on the keyboard.
Therefore if i try to import into Access the commas, character returns, / and \ etc which are embodied within the text will try to split the string into parts, and thus some of the description will be dis-associated with the unique log number it relates to.
The long way around is notepad and find and replace function. This obviously is no good for character returns or hidden ascii characters, and is very time consuming.
Is there any code in access which can strip out all of the characters and replace with a non seperator character (such as "-"). then once this is done, then import it into a table for just two fields of LogID and Description?
I am not familiar with functions, so any help would be much appreciated.
I am familiar with the acimport functions however, so once the 'stripping' is complete I can carry on the import code from there.
regards
Donna
I have a text file which has two fields, a unique number and a description.
LogID, Description
1, "blah, blah (character return)
! ***" etc
there are thousands of these unique numbers with free text descriptions of upto 255 characters. This has been downloaded from a business objects report, interrogating a database. The description field from this database can contain any character on the keyboard.
Therefore if i try to import into Access the commas, character returns, / and \ etc which are embodied within the text will try to split the string into parts, and thus some of the description will be dis-associated with the unique log number it relates to.
The long way around is notepad and find and replace function. This obviously is no good for character returns or hidden ascii characters, and is very time consuming.
Is there any code in access which can strip out all of the characters and replace with a non seperator character (such as "-"). then once this is done, then import it into a table for just two fields of LogID and Description?
I am not familiar with functions, so any help would be much appreciated.
I am familiar with the acimport functions however, so once the 'stripping' is complete I can carry on the import code from there.
regards
Donna