I am trying to set up a macro to export a txt file so I am using the TransferText command inside a macro. All is setup and working fine. My question is this:
Is there a way to change the default symbol used to separate the columns per record?
Right now the database will use a comma to separate data so the resultset looks like this when you open the text file
"STEVE","WALMART","BOOKS","345"
I would like it to replace the comma with a | (horizontal line) and then drop the quote signs so the output would look something like:
STEVE|WALMART|BOOKS|345
Can I change the default to drop the quotation marks and change the comma to a horizontal line? Thank you!
I can ever try to set this up in VB instead of a macro if needed.
Is there a way to change the default symbol used to separate the columns per record?
Right now the database will use a comma to separate data so the resultset looks like this when you open the text file
"STEVE","WALMART","BOOKS","345"
I would like it to replace the comma with a | (horizontal line) and then drop the quote signs so the output would look something like:
STEVE|WALMART|BOOKS|345
Can I change the default to drop the quotation marks and change the comma to a horizontal line? Thank you!
I can ever try to set this up in VB instead of a macro if needed.